Short Overview of DIALOGS version 1.00 6/2/92

This sample code demonstrates various methods to invoke the common
dialogs through the ChooseColor, ChooseFont, GetOpenFileName,
GetSaveFileName, PrintDlg, FindText, and ReplaceText function calls.
It is intended to be used along with the document "Using and Customizing
Common Dialogs" that should also be found on this disk.

DIALOGS demonstrates basic usage for most dialogs, customizing them
with flags, adding hook procedures for special processing, and
customizing the dialog with an application-specific template.  It
also demonstrates how to use a separate hidden popup window to make
the ChooseColor and ChooseFont dialogs modeless, a technique that
can be applied to the other dialogs as well.

This application is not meant to do much of anything useful as its
primary purpose is to show how to call the COMMDLG API.  Therefore
using the File Open dialog doesn't open any files, Find and Replace
only display a message box indicating what actions were performed, and
printing only draws a minimal amount of text to a printer.  Using
ChooseColor you can change the background of the window and ChooseFont
changes the font used for the string "Change this font..." in the
client area of the main window.  Printing uses this font, but makes
no attempt to match point sizes.

So don't expect a lot of functionality.  Sure, it would be nice to
have an example that loaded text files, printed them, allowed full
searching, changed the fonts and the colors, etc etc., but that
detracts from the purpose of this sample and uneccessarily clutters
the sources with code unrelated to the task at hand.

Please send feedback on the usefulness of this sample, the clarity
and format of the source code, and really anything else that might
help me generate better documents and sample code in the future
as Microsoft introduces new systems technologies.


Kraig Brockschmidt
Software Design Engineer
Microsoft Developer Relations
One Microsoft Way
Redmond, WA  98052

Internet  :  kraigb@microsoft.com
Compuserve:  70750,2344
Fax       :  (206)936-7329
