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]

WVBXControl:Create() Method
Create a control's window
------------------------------------------------------------------------------

Syntax
<oWnd>:Create( [ <cTitle> ] , [ <nId> ] , [ <nX> ] , [ <nY> ] ,
               [ <nWidth> ] , [ <nHeight> ] , [ <hFormFile> ] )
    -->   self

Arguments
<cTitle> is an optional string defining the caption (title
bar) of the window to be created (used as the contents for an
edit control).  The default is "" (an empty string).

<nId> is an optional number, defaulting to self:CreateId().

<nX>, <nY> specify the left, top of the window in pixels,
defaulting to CW_USEDEFAULT.

<nWidth>, <nHeight> specify the size of the window in pixels.

<hFormFile> optionally specifies a form file handle.

Returns
SELF.

Description
This method can be used to create a VBX control at run-time.
Its control and  window handles are then stored in the hCtl
and hWnd instance variables.  In practice, this method is not
often used directly, as the control usually already exists in
the dialog.

Example


See Also: WControlWindow:Init() CreateWindow()

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