Annotation of mstools/samples/plgblt/plgblt.h, revision 1.1.1.2

1.1       root        1: /* plgblt.h - header file for the PlgBlt() demonstration program. */
                      2: 
                      3: 
                      4: /* function prototypes for the window procedures. */
1.1.1.2 ! root        5: LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);
        !             6: LRESULT CALLBACK DlgProc    (HWND, UINT, WPARAM, LPARAM);
        !             7: LRESULT CALLBACK About      (HWND, UINT, WPARAM, LPARAM);
1.1       root        8: 
                      9: VOID DrawGrids (HDC, int, int);
                     10: 
                     11: /* Top dialog item IDs */
                     12: #define  DID_P1X       101
                     13: #define  DID_P1Y       102
                     14: #define  DID_P2X       103
                     15: #define  DID_P2Y       104
                     16: #define  DID_P3X       105
                     17: #define  DID_P3Y       106
                     18: #define  DID_XSRC      110
                     19: #define  DID_YSRC      111
                     20: #define  DID_WIDTH     112
                     21: #define  DID_HEIGHT    113
                     22: #define  DID_XMASK     114
                     23: #define  DID_YMASK     115
                     24: #define  DID_NEWSRC    160
                     25: #define  DID_NEWMASK   161
                     26: 
                     27: #define  DID_DRAW    200
                     28: 
1.1.1.2 ! root       29: #define IDM_COPY            300
        !            30: #define IDM_PASTE           301
        !            31: #define IDM_BOTH            302
        !            32: #define IDM_SPINOFF         310
        !            33: #define IDM_FLIPONCE        311
        !            34: #define IDM_SPIN5           312
        !            35: #define IDM_SPIN10          313
        !            36: #define IDM_SPIN30          314
        !            37: #define IDM_SPIN60          315
        !            38: #define IDM_SPIN90          316
        !            39: #define IDM_SPINTOPLEFT     317
        !            40: #define IDM_SPINCENTER      318
        !            41: #define IDM_MODE_BLACKONWHITE    320
        !            42: #define IDM_MODE_COLORONCOLOR    321
        !            43: #define IDM_MODE_WHITEONBLACK    322
        !            44: #define IDM_MODE_HALFTONE        323
        !            45: #define IDM_ABOUT           330
1.1       root       46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: /* Misc. defines for size, color, and appearance of drawing. */
                     52: #define GRIDCOLOR  (COLORREF) 0x01000006
                     53: #define DIALOGHEIGHT  90
                     54: #define SEPARATORWIDTH 4
                     55: #define MAXCHARS      32
                     56: #define INC            5
                     57: 
                     58: 
                     59: 
                     60: 
                     61: /* other user messages sent to the main window or the dialog */
                     62: #define WM_PUTUPLPOINTS  WM_USER+20
                     63: #define WM_PUTUPSRCRECT  WM_USER+21
                     64: #define WM_PUTUPMASKPT   WM_USER+22
                     65: #define WM_PLGBLT        WM_USER+23
1.1.1.2 ! root       66: #define WM_SPIN          WM_USER+24

unix.superglobalmegacorp.com

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