Download c-modal-dialog-cpp.hqx (14,485 KB)
Subject: CModalDialog C++ Class
From: "Michael F. Kamprath"
Enclosed is my implementation of a modal dialog C++ class. It is fairly
easy to use and removes most of a dialog's implementation details from
you. You can easily create sub classes to customize behavior for
particular types of modal dialogs (a dialog with a Text Edit text box
example is supplied). This code is designed to be "stand alone" and does
not depend on any "Class Archive" for use. Can be used in C code to make
dialog handling more standardized (of course, turn on the C++ compiler
for the source it is used in).