DynDlg: Dynamic Dialog Box Creation Sample

Click to open or copy the files for the DynDlg sample.

The DynDlg sample shows how to create the dialog box template at run time. Usually, an application defines a dialog box template in an RC or DLG file, then creates a dialog box at run time from the template. However, it is possible to create the dialog box template at run time.

One of the dialog boxes uses a custom control which is expected to be defined in the Spincube.dll file.

Building SDK Samples

This sample uses the following keywords:

create1; create2; createwindow; defwindowproc; dispatchmessage; getacp; getmessage; getmodulehandle; getstockobject; loadcursor; loadicon; lstrlen; mainwndproc; multibytetowidechar; postquitmessage; primarylangid; registerclass; text; translatemessage; unreferenced_parameter; winhelp; winmain