AnsweredAssumed Answered

vrf Interfacing with DOS command prompt

Question asked by codecow_ on Feb 18, 2005
Hello vrf

>Place the entry on the clipboard and then paste it to the console with
>PostMessage(hWnd, 0x0112, 0xf100, 0x20), SendKeys "ep{Enter}". This
>basically presses Alt+Space then hits the e, p and Enter keys.
>

What does the hex values mean, and what is the purpose of the postmessage
call?

i can see that the prototype for postmessage is:

BOOL PostMessage(

    HWND  hwnd,     // handle of destination window
    UINT  uMsg,     // message to post
    WPARAM  wParam,     // first message parameter
    LPARAM  lParam      // second message parameter
   );

but how does one get the hex values ?

Regards

Henrik Rune Jakobsen

_________________________________________________________________
Undg pop-ups med MSN Toolbar -  http://toolbar.msn.dk/ hent den gratis!


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes