CToolBarCtrl::CommandToIndex

This method retrieves the zero-based index for the button associated with the specified command identifier.

At a Glance

Header file: Afxcmn.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

UINT CommandToIndex( UINT nID ) const;