Jump to content

BTNCDATA

From EDM2
Revision as of 00:41, 30 May 2024 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Button-control-data structure.

typedef structc _BTNCDATA {
  USHORT      cb;                // length of control data in bytes
  USHORT      fsCheckState;      // check state of button
  USHORT      fsHilightState;    // highlight state of button
  LHANDLE     hImage;            // resource handle for icon/bitmap
} BTNCDATA, *PBTNCDATA;

typedef   BTNCDATA   * PBTNCDATA ;

Fields

cb (USHORT)
Length of the control data in bytes.
This is the length of the control data for a button control.
fsCheckState (USHORT)
Check state of button.
This is the same value as returned by the BM_QUERYCHECK message and passed to the BM_SETCHECK message.
fsHiliteState (USHORT)
Highlighting state of button.
This is the same value as returned by the BM_QUERYHILITE message and passed to the BM_SETHILITE message.
hImage (LHANDLE)
Resource handle for icon or bit map.