Help Center

CButton.GetNotemethod

Gets the text of the note associated with the Command Link button.

WindowsmethodCButton.incdocumented

Syntax

FUNCTION GetNote (BYVAL hButton AS HWND) AS DWSTRING

Description

Gets the text of the note associated with the Command Link button.

Remarks

The BCM_GETNOTE message works only with buttons that have the BS_COMMANDLINK or BS_DEFCOMMANDLINK button style.

Example

DIM dwsNote AS DWSTRING = CButton.GetNote(hButton)

Reference

  • Include file CButton.inc
  • Defined in AfxNova/CButton.inc:556
  • Documented in Windows/WIndows Controls/CButton Class.md
  • Topic: CButton Class