VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Common Dialog API calls

by Paul Mather (15 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (17 Votes)

Here are the Windows API calls for the ShowOpen, ShowSave, ShowPrinter, ShowColor and ShowFont (Thanks to Jaen Saul aka SlowByte for his post) dialogs. Also included is the beginnings of the ShowFonts dialog but I am haning some trouble getting it to work. These calls are more difficult to use than the CommonDialog control placed on a form, but don't have the version conflicts that Early-Bound and Form-Bound ActiveX controls have. In addition, I have added the ability to center the dialog on the form or center it on the screen.

Inputs
These calls make use of global variable types to pass information into the dialog box. Please see the examples in Form1.
Side Effects
Note that calling the wrong flags will cause your app to crash VB so save early and save often!!!

Rate Common Dialog API calls

Download Common Dialog API calls

Download Common Dialog API calls (6 KB)

Common Dialog API calls Comments

No comments have been posted about Common Dialog API calls. Why not be the first to post a comment about Common Dialog API calls.

Post your comment

Subject:
Message:
0/1000 characters