|
Previous Top Next |
| Prototype: | (String pWindowTitle) |
| pWindowTitle | Full or partial title of the window to activate. |
This method is used to activate a window. It is used by the Limit Program Instance template to activate the window for the program being limited. It can be used with any parent or top window and will bring it into focus and restore it if it is minimized.
Example:
Glo:ITWindowsClass ITWindowsClass ! Icetips: Limit Program Instance
CODE
If Glo:ITWindowsClass.IsProgramRunning('This is a test') ! Icetips: Limit Program Instance
Message('The program is already running.','Program is already running') ! Icetips: Limit Program Instance
Glo:ITWindowsClass.ActivateWindow('Registry Class test program') ! Icetips: Limit Program Instance
HALT() ! Icetips: Limit Program Instance
End ! Icetips: Limit Program Instance
See also: