Cuillem wrote:
Mi problem is I create dinamicaly some small windons that always go beneath
a main window.
$w_analisi[$posdinsalu]->Activate();
doesn't work....how I can pass the focus to this window ?
This works for me:
$win->SetForegroundWindow();
$win->btnHide()->SetFocus();
I.e. the difference from your attempt is that I also call SetFocus on a
control in the window. This may or may not work for you, I haven't followed
the thread too closely. The first call really should do it, so I'm not sure
why your solution doesn't work.
/J
-------- ------ ---- --- -- -- -- - - - - -
Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED]
Latest bookmark: "Customizing Makefile.PL"
http://www.perlmonks.org/index.pl?node_id=159483
dmoz (1 of 5): /Computers/Programming/Languages/Perl