File:  [OS/2 SDKs] / pmsdk / samples / clipbd / clipput.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1988, HEAD
Microsoft OS/2 SDK PM 08-08-1988


/*--------------------- file identification ------------------------*/

/*
        cliptest.h

        include file for cliptest.c
  
        Wed 10-Feb-1988 08:14:17
        Dan Weston

        Modified to conform to 4.14 MPARAM and MRESULT


*/


#define     WID_EDIT    137

/* resource stuff */
#define ID_RESOURCE 128

/* the file menu and its items */
#define   IDM_FILE           0x0100
#define   IDM_FI_NEW         0x0101
#define   IDM_FI_OPEN        0x0102
#define   IDM_FI_CLOSE       0x0103
#define   IDM_FI_SAVE        0x0104
#define   IDM_FI_SAVEAS      0x0105
#define   IDM_FI_SEP1        0x0106
#define   IDM_FI_PAGESET     0x0107
#define   IDM_FI_PRINT       0x0108
#define   IDM_FI_SEP2        0x0109
#define   IDM_FI_QUIT        0x010C
#define   IDM_FI_SEP3        0x010B
#define   IDM_FI_ABOUT       0x010A


/* the edit menu and its items */
#define   IDM_EDIT           0x0200
#define   IDM_ED_UNDO        0x0201
#define   IDM_ED_SEP1        0x0202
#define   IDM_ED_CUT         0x0203
#define   IDM_ED_COPY        0x0204
#define   IDM_ED_PASTE       0x0205
#define   IDM_ED_CLEAR       0x0206


/* the about dialog */
#define IDD_ABOUT         1024
#define IDD_AB_TITLE      401
#define IDD_AB_C1         402
#define IDD_AB_C2         403
#define IDD_AB_DATE       404
#define IDD_AB_VERSION    405
#define IDD_AB_OKAY       406


/*---------------------- function prototypes --------------------------*/

BOOL main ( void ) ;
MRESULT FAR PASCAL GenericWndProc( HWND hwnd,
                                 USHORT usMessage,
                                 MPARAM mp1,
                                 MPARAM mp2) ;
MRESULT FAR PASCAL AboutProc( HWND hwnd,
                            USHORT usMessage,
                            MPARAM mp1,
                            MPARAM mp2) ;
BOOL GenericInit (void) ;
ULONG DoMenuCommand(HWND hwnd,
                    USHORT usMenuID);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.