CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2000
    Posts
    1,471

    Is it possible to catch VK_DELETE when procsessing WM_CHAR?

    As we know, usually VK_DELETE will be caught when processing WM_KEYDOWN. Is there any way to catch VK_DELETE when processing WM_CHAR? Thanks for your inputs.

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Is it possible to catch VK_DELETE when procsessing WM_CHAR?


  3. #3
    Join Date
    Aug 2000
    Posts
    1,471

    Re: Is it possible to catch VK_DELETE when procsessing WM_CHAR?

    Quote Originally Posted by Skizmo View Post
    What do you mean? Could you explain it more? Thanks for your inputs.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Is it possible to catch VK_DELETE when procsessing WM_CHAR?

    Try to handle WM_KEYDOWN instead.
    Victor Nijegorodov

  5. #5
    Join Date
    Aug 2000
    Posts
    1,471

    Re: Is it possible to catch VK_DELETE when procsessing WM_CHAR?

    Quote Originally Posted by VictorN View Post
    Try to handle WM_KEYDOWN instead.
    I know WM_KEYDOWN will catch VK_DELETE for sure but I am just curious if it is possible to catch in WM_CHAR. Thanks for your inputs.

  6. #6
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Is it possible to catch VK_DELETE when procsessing WM_CHAR?

    Quote Originally Posted by dullboy View Post
    What do you mean? Could you explain it more? Thanks for your inputs.
    It the helppage that describes what you can do with the WM_CHAR message. It tells you if you can catch the VK_DELETE.

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