This method is called by the framework when the user selects an item from a menu, when a child control sends a notification message, or when an accelerator keystroke is translated.
| Header file: | Afxwin.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
virtual BOOL OnCommand( WPARAM wParam, LPARAM lParam );