My application send copy message after drag and mouse up on text any application for selecting word/text.
Other application work good(IE, notepad, Word...). Drag and mouse up then copy done.
But, Adobe Reader X don't work. Drag and mouse up then need to Ctrl+C keydown.
I don't know, why Reader X can't receive copy message.
And how to send copy message Reader X
Description of the copy message was a lack.![]()
My application use keybe_event
Step is below
1. hooking mouse up event
2. using keybd_event function (VK_CONTROL and 'C')
3. catch changing event to clipboard(WM_DRAWCLIPBOARD)
4. paste it My application.
Adoby reader X don't work keybd_event function.
Thank you for your reply.
Chris.Jung.com wrote:
Other application work good(IE, notepad, Word...). Drag and mouse up then copy done.
With "drag" you mean Select? That does not work that way on any of my systems, not on IE, Notepad, Word.
You must have something special enabled (Accessibility?), and that seems to work only for Microsoft applications.
If you understand how this is enabled, then maybe its functionality should also be extended to Adobe Reader. But right now I do not understand what that is.
Yes, 'drag' mean Select.
My application had Auto copy&paste function
Step is below
1. My hooking dll loaded, and hooking mouse up event(from all application include Adobe reader x)
2. My hooking dll receive mouse up event and send WM_COPYDATA My application
3. My application using keybd_event function (VK_CONTROL and 'C')
4. catch changing event to clipboard(WM_DRAWCLIPBOARD)
5. paste it My application.
I was debugging this problem in detail. then found the cause of this problem
If, Adobe reader x is running, My hooking dll is not work. any mouse event don't be received.
if, Adobe reader x is not running, My hooking dll is work, all mouse event be received.
I think Adobe reader x missing CallNextHookEx function in HookProc callback.
Thank you for reply
North America
Europe, Middle East and Africa
Asia Pacific