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

Discussion in 'ASP .Net' started by polen.t2006@freenet.de, Oct 12, 2007.

  1. Guest

    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,
    , Oct 12, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?VG9tYXMgS2VwaWM=?=

    Changing DEFAULT cursor to WAIT cursor in ASP

    =?Utf-8?B?VG9tYXMgS2VwaWM=?=, Apr 5, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,292
    Bruce Barker
    Apr 5, 2005
  2. Stefan Mueller
    Replies:
    7
    Views:
    6,171
    Stefan Mueller
    Mar 4, 2006
  3. invy
    Replies:
    4
    Views:
    379
    CBFalconer
    Dec 28, 2006
  4. dmaziuk
    Replies:
    3
    Views:
    551
    Chris Gonnerman
    Jan 25, 2011
  5. Replies:
    4
    Views:
    172
Loading...

Share This Page