Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Dialog-Box Components in the Framework 

In the MFC framework, a dialog box has two components:

  • A dialog-template resource that specifies the dialog box's controls and their placement.

    The dialog resource stores a dialog template from which Windows creates the dialog window and displays it. The template specifies the dialog box's characteristics, including its size, location, style, and the types and positions of the dialog box's controls. You will usually use a dialog template stored as a resource, but you can also create your own template in memory.

  • A dialog class, derived from CDialog, to provide a programmatic interface for managing the dialog box.

    A dialog box is a window and will be attached to a Windows window when visible. When the dialog window is created, the dialog-template resource is used as a template for creating child window controls for the dialog box.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.