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.
LRESULT Button_GetNoteLength(
[in] HWND hwnd
);
[in] hwnd
Type: HWND
A handle to the button control.
Type: LRESULT
Returns the length of the note text in WCHARs, not including any terminating NULL, or zero if there is no note text.
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.
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 |
Conceptual
Reference