What about applying a certain window style to your pop-up window, so that it
can't lose focus? I'm trying to locate info now on window styles from MSDN
(for other reasons) since the gui-docs dont mention window styles well.
Just a suggestion :-)
Ian.

----- Original Message -----
From: "Mike Kangas" <[EMAIL PROTECTED]>
To: "Perl GUI" <[EMAIL PROTECTED]>
Sent: Friday, March 24, 2000 3:08 PM
Subject: [perl-win32-gui] Popup window moving behind origninal


> When I click a button and create a popup window...... all is well.
> When I popup the same window by clicking an item in a list box, the box
> opens in a flash but then the original window takes the focus back and
> the popup window hides behind the original. I used SetForegroundWindow(
> ) but that didn't work.
>
> Any other ideas?
> Is this actually the listbox taking the focus because of the item click?
>
> Mike Kangas
> [EMAIL PROTECTED]


Reply via email to