Function OpenUserWindow

Top 

Declaration:

unsigned long OpenUserWindow(char title[]);

Description

Opens the User window and specifies its title (parameter title).

This can also be done with the OpenWindow function, by transferring the WIN_USER constant to it as a parameter, however in this case, you cannot specify the title.

If there is an unowned user window opened on the screen, a new window will not be opened and the current window will be used.

A new window is opened in a random screen location and has the preset size. To resize the window, use the SetWindowSize function or do it manually.

Returned value

The identifier of the opened window. It can be transferred as a parameter to other window operation functions.

Example

unsigned long handle = OpenUserWindow("A/D conversion");