Dialog (class)

 

Contents

Name

Dialog

Remark

The Dialog class is the base class used for displaying dialog boxes on the screen.

Hierarchy

Examples

header to Include

Dialog.h

Reference

Members

Name Brief Example
AddToolBar Add the tool bar by resource ID to dialog window.
Attach Attach to a dialog resource.
Close Closes a dialog window.
Create Call this member function to invoke the modalless dialog box. Examples
Dialog Default constructor.
DoModal Call this member function to invoke the modal dialog box and return the dialog-box result when done. Examples
GetItem Retrieves the control with the specified ID from the specified dialog box.
GetToolBar Retrieves the window object of tool bar from the dialog.
GetWindow Returns the window object.
HasPreviousSize Finds if there is information about size saved from previous launch of this dialog.
IsRolledup Finds Rolled up status of the dialog. Examples
KillTimer This function kills a system timer. Examples
Rollup Rolls up or down a dialog window. Examples
SetResizingStyle dwStyle : Could be one of the following; RESIZE_DEPENDENCY_DOMINANT_NONE, RESIZE_DEPENDENCY_DOMINANT_PAGE, RESIZE_DEPENDENCY_DOMINANT_DIALOG,
SetTimer This function installs a system timer. Examples