BTNCDATA
Appearance
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.