Textbox subclassing issue

This is a discussion on Textbox subclassing issue within the Windows Programming forums, part of the Platform Specific Boards category; I've got a dialog window with a subclassed edit control. My keyboard accelerators refuse to work while in a textbox, ...

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    161

    Textbox subclassing issue

    I've got a dialog window with a subclassed edit control. My keyboard accelerators refuse to work while in a textbox, probably because the subclassed callback filters WM_CHAR so only hex characters can be typed. I'm trying to get CTRL+LEFT/RIGHT/UP/DOWN to do something specific, and I'm unsure of how to accomplish this in the current situation. I could grab the directional keys with WM_KEYUP or WM_CHAR, but I don't know how to determine if CRTL is being pressed with them that way.
    Last edited by Viper187; 07-29-2009 at 01:44 PM.

  2. #2
    Registered User
    Join Date
    Apr 2007
    Posts
    137
    It's a Win32 old FAQ see, on Win32 ng

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 04-02-2009, 05:40 AM
  2. Replies: 5
    Last Post: 03-02-2009, 08:33 AM
  3. float calculation issue
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-26-2008, 05:56 AM
  4. my first issue of GDM
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-12-2002, 05:02 PM
  5. How would I add a textbox?
    By -KEN- in forum C# Programming
    Replies: 2
    Last Post: 11-13-2001, 02:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21