CButton::GetNoteLength

Retrieves the length of the note text for the current command link control.

UINT GetNoteLength() const;

Return Value

The length of the note text, in 16-bit Unicode characters, for the current command link control.

Remarks

Use this method only with controls whose button style is BS_COMMANDLINK or BS_DEFCOMMANDLINK.

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

Requirements

Header: afxwin.h

This method is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

See Also

Reference

CButton Class

Hierarchy Chart

CButton::GetNote

CButton::SetNote

BCM_GETNOTELENGTH