This method returns the index of the first toolbar button, starting at position 0, whose command identifier matches nIDFind.
| Header file: | Afxext.h |
| Platforms: | Palm-size PC, H/PC Pro |
| Windows CE versions: | 2.10 and later |
| Complete documentation: | Visual C++ documentation |
int CommandToIndex( UINT nIDFind );