This method sets the command identifier, which is sent to the owner window when the specified button is pressed.
| Header file: | Afxcmn.h |
| Platforms: | Palm-size PC, H/PC Pro |
| Windows CE versions: | 2.10 and later |
| Complete documentation: | Visual C++ documentation |
BOOL SetCmdID( int nIndex, UINT nID );