![]() |
![]() |
AppWindow.Activate
Sub Activate()
Member of AppWindow
The Activate method makes the main application window active and gives it keyboard focus.
In many cases, newer operating systems like Windows 98 and Windows 2000 dont allow the application to activate itself, to prevent intervention with youre current activity. If the application is not granted active status in certain situations, the application window starts flashing in the taskbar, but it does not appear in the foreground.
The following code example activates the CorelDRAW main application window if it is currently inactive. A window is inactive if it is open but not the currently used Windows application.
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.