How about setting -topmost => 1 ?

-----Original Message-----
From: Dave Crawford [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 11:27 AM
To: Win32GUI; [EMAIL PROTECTED]
Subject: Re: [perl-win32-gui-users] Moving a DialogBox to the forground


Thanks for the tip but still no joy. I replaced the SetForegroundWindow()
call with Win32::GUI::BringWindowToTop($Window) but I still need to click on
the 3rd party app's taskbar icon and then on mine to move it to the
foreground. The odd thing is that once I complete the sequence once,
subsequent calls to redisplay my DialogBox properly displays it in the
foreground.

-Dave

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Dave Crawford" <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 10:46 AM
Subject: Re: [perl-win32-gui-users] Moving a DialogBox to the forground


>
> Dave,
>
> Try
>
>       Win32::GUI::BringWindowToTop($Window);
>
> where $Window is your window.
>
> Cheers,
>
> Kev.
>
>



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Reply via email to