int wb_create_window (int parent, int wclass [, string caption [, int xpos [, int ypos [, int width [, int height [, int style [, int param]]]]]]])
or
int wb_create_window (int parent, int wclass [, string caption [, int width [, int height]]])
Creates a window of class wclass. Click here for a list of the available window
classes. Windows created with this function must be destroyed with a call to
wb_destroy_window(). Optional style
flags may be passed through parameter style. To enable additional messages in a particular window, include the WBC_NOTIFY style
in the style
parameter and use param to indicate which additional notification messages you
want to process.
This function may set the text and/or the tooltip (small hint window) of the window when it is created. To create a tooltip, text must be an array with two elements. The first one is the new caption (or NULL if one is not required) and the second one is the new tooltip (or NULL if one is not required). All classes support tooltips.
Returns the handle of the newly created window or NULL or
zero if an error occurs.
|
|
To create a window
that minimizes itself as an icon in the TaskBar status area, include the WBC_TASKBAR style flag in
the style parameter. All operations will be handled automatically.
|
|
wb_destroy_window
wb_create_control
wb_set_handler
Window
style
flags
Window functions
Window classes
Callback functions and window handlers