CToolBarCtrl::GetButtonText

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

CString GetButtonText(
        int idButton
) const;

Parameters

Parameter

Description

[in] idButton

The identifier for the button whose display text is retrieved.

Return Value

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

Remarks

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

Requirements

This function is supported by Windows 95 and later.

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart