Troy T
April 30th, 1999, 01:14 AM
Hello-
I have a unique problem that I need to solve in the application I'm developing. The problem is a Hot Key type problem. The scenario is as follows:
I have a global hot key setup for my application that is user-definable. When the user presses this hot key, it sends a message to the application, and in that function I place text into the clipboard. Then I need to find the active window and actually do a "PostMessage" to the active window with the CTRL + V combination (to paste the clipboard contents to the active window).
Can someone help me formulate a PostMessage function call do accomplish the above? After many attempts, there is just something not quite right about the way I am approaching this.
Thanks!
- Troy
I have a unique problem that I need to solve in the application I'm developing. The problem is a Hot Key type problem. The scenario is as follows:
I have a global hot key setup for my application that is user-definable. When the user presses this hot key, it sends a message to the application, and in that function I place text into the clipboard. Then I need to find the active window and actually do a "PostMessage" to the active window with the CTRL + V combination (to paste the clipboard contents to the active window).
Can someone help me formulate a PostMessage function call do accomplish the above? After many attempts, there is just something not quite right about the way I am approaching this.
Thanks!
- Troy