C++ Programming
04-03-2009, 07:30 AM
When I click a hot key combination (Ctrl+Shift+P) my program do copy some text to the clibboard,
So I can paste it to any window by holding Ctrl+V
Now I like to automate this and be able to do the Ctrl+V programatically,
Lets assume I just want to paste just anything to other windows - so I can get started,
I have tried this, but I guess I'm missing something:
SendMessage(WM_PASTE, 0,0);
I'd like to broadcast a "paste" message (or "Ctrl+V") so I will not have to find the current active window and get its focus,
Any suggestions ?
Best Regards - Yovav Gad
CEO and founder of MicroMighty, Inc.
So I can paste it to any window by holding Ctrl+V
Now I like to automate this and be able to do the Ctrl+V programatically,
Lets assume I just want to paste just anything to other windows - so I can get started,
I have tried this, but I guess I'm missing something:
SendMessage(WM_PASTE, 0,0);
I'd like to broadcast a "paste" message (or "Ctrl+V") so I will not have to find the current active window and get its focus,
Any suggestions ?
Best Regards - Yovav Gad
CEO and founder of MicroMighty, Inc.