Programming guideline of WinDom
Keyboard shortcuts are handled directly by EvntWindom(). The
developper does nothing except to declare the shortcuts. The
declaration of these shortcuts are performed in the ressource. When a
keyboard event occurs, EvntWindom() evaluates it and searchs among
the formulars, toolbar and menus. When the shortcut is found, the
search stops and a message is sent. The shortcut is successively
search in:
- the desktop menu (if found, a MN_SELECTED message is sent),
- active window menu (if found, a ,WM_MNSELECTED message is
sent),
- the active window toolbar (if found, a WM_TOOLBAR message
is sent),
- the active window formular (if found, a WM_FORM message is
sent).
The active window may be the top window or the window pointed by the
mouse (see the windom.evnt variable).