CToolBarCtrl::GetButtonText

Retrieves the display text of a specified button on the current toolbar control.

CString GetButtonText(
        int idButton
) const;

Parameter

Description

[in] idButton

The identifier for the button whose display text is retrieved.

A CString that contains the display text of the specified button.

This method sends the TB_GETBUTTONTEXT message, which is described in the Windows SDK.

This function is supported by Windows 95 and later.

Community Additions

ADD
Show: