This method retrieves the zero-based index for the button associated with the specified command identifier.
| Header file: | Afxcmn.h |
| Platforms: | Palm-size PC, H/PC Pro |
| Windows CE versions: | 2.10 and later |
| Complete documentation: | Visual C++ documentation |
UINT CommandToIndex( UINT nID ) const;