OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TDialogAttr Struct Reference

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

TCHARName
 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.
 

Detailed Description

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.

Definition at line 36 of file dialog.h.

Member Data Documentation

◆ Name

TCHAR* owl::TDialogAttr::Name

Name holds the identifier, which can be either a string or an integer resource identifier, of the dialog resource.

Definition at line 39 of file dialog.h.

◆ Param

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.

Definition at line 49 of file dialog.h.


The documentation for this struct was generated from the following file: