Spin button control data structure.

typedef struct _SPBCDATA {
  ULONG     cbSize;       /*  Size of control block. */
  ULONG     ulTextLimit;  /*  Entryfield text limit. */
  LONG      lLowerLimit;  /*  Spin lower limit (numeric only). */
  LONG      lUpperLimit;  /*  Spin upper limit (numeric only). */
  ULONG     idMasterSpb;  /*  ID of the servant's master spinbutton. */
  PVOID     pHWXCtlData;  /*  Handwriting control data structure flag. */
} SPBCDATA;

typedef   SPBCDATA   * PSPBCDATA ;

The SPBCDATA structure is used in the ctldata parameter of WinCreateWindow.

When using this structure the SPBM_SETLIMITS, SPBM_SETTEXTLIMIT, and SPBM_SETMASTER messages do not need to be specified.


[Back] [Next]