Dynamicly add accelerator keys to dynamic menu items
Posted on 2002-07-01
I cannot find a way to add new accelerator keys at run time.
I have a dynamic menu and i would like to assign accelerator keys to some of it's items.
So far i managed to Count the number of entries in the current table, allocate a buffer for the table, and then copy the table into the buffer.
HOWEVER, there is no function that will add new accelerator keys to the table.
I've using the 'Creating User-Editable Accelerators' article from the MSDN as a reference.