Thread: Textbox subclassing issue

  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 12: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, 04: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, 04: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, 04: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