simulated cursor-key-up/down key-press changed ?

P

polen.t2006

Hi,

in the past it worked well to send from own program a simulated Key-
press of the Cursor-up key Taste to another program, that in the other
prgram the selection of an item in a listfield moves one step up/down:

sendmessage(wnd,WM_KEYDOWN,VK_UP,0);
sendmessage(wnd,WM_KEYUP,VK_up,0);

Now its not working anymore somehow (software-update), albeit e.g. a
simulated double-click still works by using

sendmessage(wnd,WM_lBUTTONDBLCLK,0,0);


I always used 0 as last parameter.


The MSDN (http://msdn2.microsoft.com/en-us/library/ms912654.aspx)
says

WM_KEYDOWN nVirtKey = (int) wParam; lKeyData = lParam;

lKeyData:
Specifies the repeat count, context code, previous key-state flag,
and transition-state flag, as shown in the following table ...


Does new programs have different handling ("Standards") ? And instead
of using 0 one have to specify lKeyData in detail, that vk_up will be
understood ? I mean, the couble-click is still working as in the past

Any Ideas?

Thanks a lot,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top