From: Jeremy B. <jb...@dj...> - 2003-05-20 23:37:46
|
Vikas, You'll want to use the following: $WINDOW->BringWindowToTop(); Thanks, Jeremy Blonde =20 -----Original Message----- From: Sachdeva, Vikas [mailto:Vik...@ne...]=20 Sent: Tuesday, May 20, 2003 4:02 PM To: per...@li... Cc: Sachdeva, Vikas Subject: [perl-win32-gui-users] Please help!!! Hi, I have written a perl program using win32::gui to bring a particular window on the desktop to foreground (on top). For this purpose I am using "Win32::GUI::SetForegroundWindow($window);" call. This works if the current foreground window is the perl console window itself. If this is not the case and lets say the current foreground window was "MS Word" for example, the requested window does not make it to the top and only the title bar for the requested window blinks 3 times. I have also tried "Win32::GUI::BringWindowToTop($window);". Please assist at the earliest. Thanks Vikas |