Tools Links Login

Common Dialog API calls

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.

Original Author: Paul Mather

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!!!

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 101 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD915.zip
Posted: 9/3/2020 3:45:00 PM
Size: 7,052 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.