Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WDialog:Init() Method
Construct a dialog object
------------------------------------------------------------------------------

Syntax
WDialog{ <oParent>, [ <cnId_aDlg> ] , [ <lCreate> ] , [ <lModal> ] }
        -->   SELF

Arguments
<oParent> is the parent (owner) window object.  Just as
<oParent> is the owner of the dialog object, the parent's hWnd
will be the actual owner of the dialog's window.

<cnId_aDlg> optionally specifies a resource id (numeric or
string) or a dynamic dialog structure (as returned e.g. by the
CreateDialog() / AppendDialog() functions).  If this is NIL,
a dynamic dialog is constructed, containing a cancel button
and a progress bar.

<lCreate> specifies whether the dialog object's Create()
method is to be invoked immediately.  Usually you want the
default (.T.).

<lModal> can be used to override the default setting (.F. for
a non-MDI application, .T. for an MDI app) as to whether the
dialog is modal or modeless.

Returns
SELF.

Description
This method initialises a dialog object.  By default, this
will also create a window on the screen.

Example
oDlg = WDialog{ oWnd, "MYDLG" }


See Also: WWindowBase:Axit() WDialog:Create()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson