I am trying to send the F10 key to the conquer window from my application. Using Spy++ it is coming through exactly as when i actually press the F10 key on the conquer window. The only issue is that the message being sent from my application does not produce any response.
Code:
PostMessage( * * myProcesses[currentCO].MainWindowHandle, * * * //window handle * * 0x105, * * * //the WM_SYSKEYUP message * * System.Convert.ToInt32(Keys.F10), * * * //the F10 key * * 3225681921 * * *//the additional infromation ScanCode ect... );
Also, while pressing the key on the CO window, Spy++ only detects a WM_SYSKEYUP message. Is this correct? I have tried it both ways. Different additional info for the down key.
Am i sending the message to the wrong handle?
Can anyone give me any clues. pls
Thanks.






