in reply to Re: Re: Ideas for implementing pShell
in thread Ideas for implementing pShell
in a begin block. If you do, it won't work properly. For example if you tried GetWindowThreadProcessId($handle, $procid); $procid would not be populated with the process id as is expected. This drove me crazy 10min ago.Win32::API::->Import( "user32", "DWORD GetWindowThreadProcessId( HWND hWnd, LPDWORD lpdwPr +ocessId)" ) or die $^E;
update: also, be sure the new parent window has wxCLIP_CHILDREN on, otherwise flicker galore
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::API caveat
by blackadder (Hermit) on May 14, 2004 at 11:50 UTC | |
by blackadder (Hermit) on May 14, 2004 at 12:43 UTC |