Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Ideas for implementing pShell

by Jouke (Curate)
on Apr 04, 2004 at 10:24 UTC ( [id://342447]=note: print w/replies, xml ) Need Help??


in reply to Re: Ideas for implementing pShell
in thread Ideas for implementing pShell

Great! This is useable code for this project! PodMaster++


Jouke Visser, Perl 'Adept'
Using Perl to help the disabled: pVoice and pStory

Replies are listed 'Best First'.
Win32::API caveat
by PodMaster (Abbot) on Apr 05, 2004 at 11:46 UTC
    Another thing I've just discovered is that you cannot wrap
    Win32::API::->Import( "user32", "DWORD GetWindowThreadProcessId( HWND hWnd, LPDWORD lpdwPr +ocessId)" ) or die $^E;
    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.

    update: also, be sure the new parent window has wxCLIP_CHILDREN on, otherwise flicker galore

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      I am completely Lost now,.... Blackadder
        Oh yes,clear as mud,..are you showing off????

        Damn! losing points and still don't understand this scribbles.

        surely there is something more simpler form me to understand that all this examplish thing....surely!!!!!!!

        Thanks anyway. Blackadder

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://342447]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found