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.