The User Window

Top  Previous  Next

The User window is a window that can be created by means of the built-in OpenUserWindow function executed from the script itself. The User windows enable:
 

drawing graphical objects (indicators, LEDs, buttons, arrows, etc. by means of the built-in graphical output functions;

displaying texts in the window;

responding to the events displaying in the User windows (see WaitWindowEvent).

With this capability, you can organize window operations in the interactive mode. For more information, see Script Files.

All functions working with  windows (including the User window) obtain the window identifier (handle) as a parameter. Therefore, you can have several windows of this type opened at the same time.

The User windows do not have a local menu. They only have toolbars with 16 buttons (0...F), and each button can be programmed to perform a certain function. Pressing a button generates the WE_TOOLBARBUTTON event.