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

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

php - PHPDoc: @return void necessary? -

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