CREATEDIALOG |
Top Previous Next |
Syntax CREATEDIALOG(dlg:DIALOG,x:INT,y:INT,w: INT,h:INT,style:UINT,parent:POINTER,caption:STRING,proc:UINT) Description Defines a dialog to be used with the DOMODAL or SHOWDIALOG statements. Parameters dlg - A DIALOG variable. x, y, w, h - The dialogs coordinates and dimensions. style - Style flags for the dialog. parent - A window or dialog to use as the parent, can be NULL. caption - The title bar caption for the dialog proc - Address of the subroutine that will handle the dialogs messages Return value None Remarks CREATEDIALOG creates a dialog template in memory. The dialog does not exist until DOMODAL or SHOWDIALOG is called. Initialize controls in response to the @IDINITDIALOG message. See Also: CLOSEDIALOG, DOMODAL, SHOWDIALOG, CONTROL Example usage DEF colordlg as DIALOG |