Button_GetNoteLength macro (commctrl.h)

Gets the length of the note text that may be displayed in the description for a command link. Use this macro or send the BCM_GETNOTELENGTH message explicitly.

Syntax

void Button_GetNoteLength(
  [in]  hwnd
);

Parameters

[in] hwnd

Type: HWND

A handle to the button control.

Return value

None

Remarks

Beginning with comctl32 DLL version 6.01, command link buttons may have a note. For information on DLL versions, see Common Control Versions.

The Button_GetNoteLength macro works only with the BS_COMMANDLINK and BS_DEFCOMMANDLINK button styles.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h

See also

Button Styles

Button Types

Conceptual

Reference