 |
DialogAddTitle |
Function (Macro) |
Adds a title bar and up to two buttons into a dialog box.
DialogAddTitle adds a title bar with text title and up to two buttons to the dialog structure associated
with handle Handle. Parameters left_button and right_button determine the type of the
left and right buttons which eventually will appear at the bottom of the dialog box
(by giving BT_NONE as the parameter you can skip adding a button). The set of possible buttons
is very limited. See DlgMessage for info about possible types. It seems that it is not
possible to add buttons without adding a title bar.
DialogAddTitle returns H_NULL in a case of error, otherwise it returns Handle. This routine (as well as all other 'DialogAdd...' routines) may cause heap compression.
Uses: DialogAdd