home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S12442.ZIP / DIPOP.H < prev    next >
Text File  |  1989-07-19  |  766b  |  28 lines

  1. /* dipop.h RHS 7/15/89
  2.  *
  3.  * macros and typedefs for dipop.c
  4.  */
  5.  
  6.  
  7. #define    BTOGGLE    0x0001
  8. #define    BPRESS    0x0002
  9. #define    INPUT        0X0003
  10.  
  11. typedef    struct _button
  12.     {
  13.     char        *text;                                        /* text to be displayed        */
  14.     USHORT    startrow;                                    /* upper row                    */
  15.     USHORT    startcol;                                    /* left column                    */
  16.     USHORT    endrow;                                        /* lower row                    */
  17.     USHORT    endcol;                                        /* right column                */
  18.     BYTE        attribute;                                    /* color attribute            */
  19.     USHORT    type;                                            /* type of object                */
  20.     USHORT    left_button_val;                            /* mouse left button event    */
  21.     USHORT    right_button_val;                            /* mouse right button event*/
  22.     USHORT    accelerator;                                /* keyboard event                */
  23.     USHORT    state;                                        /* button state: on or off    */
  24.     } BUTTON;
  25.  
  26.  
  27.  
  28.