Rediger

Del via


BCM_SETNOTE message

Sets the text of the note associated with a command link button. You can send this message explicitly or use the Button_SetNote macro.

Parameters

wParam

Must be zero.

lParam

A pointer to a null-terminated WCHAR string that contains the note.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

Beginning with comctl32 DLL version 6.01, command link buttons may have a note.

The BCM_SETNOTE message 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]
Header
Commctrl.h

See also

Reference

Button Styles

Conceptual

Button Types