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

1.1.1.3 ! root        1: 
        !             2: /******************************************************************************\
        !             3: *       This is a part of the Microsoft Source Code Samples. 
        !             4: *       Copyright (C) 1993 Microsoft Corporation.
        !             5: *       All rights reserved. 
        !             6: *       This source code is only intended as a supplement to 
        !             7: *       Microsoft Development Tools and/or WinHelp documentation.
        !             8: *       See these sources for detailed information regarding the 
        !             9: *       Microsoft samples programs.
        !            10: \******************************************************************************/
        !            11: 
1.1       root       12: /* plgblt.h - header file for the PlgBlt() demonstration program. */
                     13: 
                     14: 
                     15: /* function prototypes for the window procedures. */
1.1.1.2   root       16: LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);
                     17: LRESULT CALLBACK DlgProc    (HWND, UINT, WPARAM, LPARAM);
                     18: LRESULT CALLBACK About      (HWND, UINT, WPARAM, LPARAM);
1.1       root       19: 
                     20: VOID DrawGrids (HDC, int, int);
                     21: 
                     22: /* Top dialog item IDs */
                     23: #define  DID_P1X       101
                     24: #define  DID_P1Y       102
                     25: #define  DID_P2X       103
                     26: #define  DID_P2Y       104
                     27: #define  DID_P3X       105
                     28: #define  DID_P3Y       106
                     29: #define  DID_XSRC      110
                     30: #define  DID_YSRC      111
                     31: #define  DID_WIDTH     112
                     32: #define  DID_HEIGHT    113
                     33: #define  DID_XMASK     114
                     34: #define  DID_YMASK     115
                     35: #define  DID_NEWSRC    160
                     36: #define  DID_NEWMASK   161
                     37: 
                     38: #define  DID_DRAW    200
                     39: 
1.1.1.2   root       40: #define IDM_COPY            300
                     41: #define IDM_PASTE           301
                     42: #define IDM_BOTH            302
                     43: #define IDM_SPINOFF         310
                     44: #define IDM_FLIPONCE        311
                     45: #define IDM_SPIN5           312
                     46: #define IDM_SPIN10          313
                     47: #define IDM_SPIN30          314
                     48: #define IDM_SPIN60          315
                     49: #define IDM_SPIN90          316
                     50: #define IDM_SPINTOPLEFT     317
                     51: #define IDM_SPINCENTER      318
                     52: #define IDM_MODE_BLACKONWHITE    320
                     53: #define IDM_MODE_COLORONCOLOR    321
                     54: #define IDM_MODE_WHITEONBLACK    322
                     55: #define IDM_MODE_HALFTONE        323
                     56: #define IDM_ABOUT           330
1.1       root       57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: /* Misc. defines for size, color, and appearance of drawing. */
                     63: #define GRIDCOLOR  (COLORREF) 0x01000006
                     64: #define DIALOGHEIGHT  90
                     65: #define SEPARATORWIDTH 4
                     66: #define MAXCHARS      32
                     67: #define INC            5
                     68: 
                     69: 
                     70: 
                     71: 
                     72: /* other user messages sent to the main window or the dialog */
                     73: #define WM_PUTUPLPOINTS  WM_USER+20
                     74: #define WM_PUTUPSRCRECT  WM_USER+21
                     75: #define WM_PUTUPMASKPT   WM_USER+22
                     76: #define WM_PLGBLT        WM_USER+23
1.1.1.2   root       77: #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.