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++ - Convert big endian to little endian when reading from a binary file -

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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -