
Creates the CDTWindow object.
| Parameter | Description |
|---|---|
|
display |
A valid pointer to the CDTDisplay object to be associated with the newly created window. In a typical application, all windows will be associated with the same CDTDisplay object. |
|
title |
A valid pointer to the standard ANSI C/C++ string which represents the title of the window. |
|
x |
The x coordinate of the window, in pixels. |
|
y |
The y coordinate of the window, in pixels. |
|
w |
The width of the window, in pixels. |
|
h |
The height of the window, in pixels. |
|
flags |
A bitmask of special flags. The following bit values are currently supported:
Note that flags is a bitmask. Use the OR ("|") operation to combine several bit values. For example, to open a centered and resizable window, set flags to DV_WINDOW_HINT_RESIZE|DV_WINDOW_HINT_CENTER. |
