OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Holds a TDialog object's creation attributes, which include the style, appearance, size, and types of controls associated with the dialog box. More...
#include <owl/dialog.h>
Public Attributes | |
TCHAR * | Name |
Name holds the identifier, which can be either a string or an integer resource identifier, of the dialog resource. | |
LPARAM | Param |
Param is used to pass initialization data to the dialog box when it is constructed. | |
Holds a TDialog object's creation attributes, which include the style, appearance, size, and types of controls associated with the dialog box.
TDialogAttr contains two data members: Name (the resource id) and Param. These members contain user-defined data used for dialog box creation.
TCHAR* owl::TDialogAttr::Name |
LPARAM owl::TDialogAttr::Param |
Param is used to pass initialization data to the dialog box when it is constructed.
You can assign a value to this field in a derived class's constructor. Although any Param-type information passed to the dialog box can be saved as a data member, Param is especially useful if you want to create a dialog box that's implemented by non-ObjectWindows code.
After Param is accepted it is then available in the message response functions (for example, EvInitDialog()) associated with WM_INITDIALOG.