c++ - Disable accelerator table items in MFC -


i need temporarily disable few items accelerator table when input focus on cedit field.

my application has commands associated keyboard keys (a, s, d, etc.) , need disable while user entering text in field.

you try copyacceleratortable array of accel structures edit out ones don't want, call destroyacceleratortable on current table. use createacceleratortable create new table edited accelerator table.

edit: this link may useful.


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

c++ - Convert big endian to little endian when reading from a binary file -