Category : OS/2 Files
Archive   : PMACCESS.ZIP
Filename : PMACCESS.H

 
Output of file : PMACCESS.H contained in archive : PMACCESS.ZIP
/* pmaccess.h RHS 7/15/89
*
* macros and typedefs for dipop.c
*/


#define BTOGGLE 0x0001
#define BPRESS 0x0002
#define INPUT 0X0003

typedef struct _button
{
char *text; // text to be displayed
USHORT startrow; // upper row
USHORT startcol; // left column
USHORT endrow; // lower row
USHORT endcol; // right column
BYTE attribute; // color attribute
USHORT type; // type of object
USHORT left_button_val; // mouse left button event
USHORT right_button_val; // mouse right button event
USHORT accelerator; // keyboard event
USHORT state; // button state: on or off
} BUTTON;


#define MOUMSG(ptr) ((MOUEVENTINFO *)ptr)
#define KBDMSG(ptr) ((KBDKEYINFO *)ptr)



  3 Responses to “Category : OS/2 Files
Archive   : PMACCESS.ZIP
Filename : PMACCESS.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/