I've never seen this before. A little code showing how you call the other window might be helpful.
 
-----Original Message-----
From: Gross, Stephan [mailto:sg@loralskynet.com]
Sent: 09 August 2001 19:18
To: 'Perl GUI'
Subject: [perl-win32-gui-users] Why do Windows spontaneously minimize?

I'm writing an application where data is input in a first window, then the user hits a button which calls a second window.  Sometimes the second window pops right up, but at other times it starts minimized, so I have to click it twice on the task bar to see it.  Can anyone suggest why this happens?  I also notice this effect even when I am designing a window; if I make a label a certain length and the data in the label changes, I may see the same thing.  I am not using any IsVisible or OnTop methods.

_______________________________________________________
Stephan Gross       Loral Skynet     908-470-2388     sg@loralskynet.com