This method retrieves the control identifier, style, and image index of the toolbar button or separator at the location specified by nIndex. Those values are assigned to the variables referenced by nID, nStyle, and iImage. The image index is the position of the image within the bitmap that contains images for all the toolbar buttons. The first image is at position zero.
Header file: | Afxext.h |
Platforms: | Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
void GetButtonInfo( int nIndex, UINT& nID, UINT& nStyle, int& iImage ) const;