CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: OnKeyUp?

  1. #1
    Guest

    OnKeyUp?

    I'm new at MFC programming and I have a question. When I try to add OnKeyUp/OnKeyDown they don't work! I tried to add focus to window using SetFocus() but it doesn't help! when I press a key on keyboard these function do not open !!! but i have ON_WM_KEYUP/DOWN Compiler shows no errors. Where is the error ?


  2. #2
    Join Date
    Jul 1999
    Location
    Romania - Iasi
    Posts
    558

    Re: OnKeyUp?

    These functions are not called if u press specials key(shift, crl, alt, enter, tab, etc)
    Let me know if this help u
    Regards,
    Ovidiu


  3. #3
    Join Date
    Aug 1999
    Posts
    6

    Re: OnKeyUp?

    Check your online help for

    ON_WM_SYSKEYUP/ON_WM_SYSKEYDOWN and OnSysKeyUp/OnSysKeyDown; special keys, like arrow keys etc, are handled by this functions.

    Uli


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured