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. > >