Keyboard accelerator issues
Ok, I'm using multiple dialogs and I want to have keyboard shortcuts that are exclusive to specific dialogs instead of the whole thing. Can multiple accelerators be used? I'm not having much luck getting the desired functionality & flexibility or finding decent examples of rigging this type of behavior. I think I'd like to handle it from the message loop within WinMain. I'm just not sure how. Maybe if I kept a global with the handle to each procedure I could compare that tot he one in the message struct when retrieving and dispatching messages. My main issue is getting one accelerator to run only when a certain dialog or it's children has focus. I want to make this main dialog a portable interface to be called up from other dialogs when inserted into certain other projects while having an easy way to override the default accelerator(s) in favor of the ones intended for the dialog.