|
|
1.1 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:
12: /* polydraw.h - header file for the polydraw demonstration program. */
13:
14:
15: /* function prototypes for the window procedures. */
16: LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);
17:
18: #define MAXPOINTS 16
19: #define NONE -1
20: #define HITSIZE 10
21:
22: /* Strings to be written at the bottom of the window as instructions. */
23: char instructions0[] =
24: "Left mouse button places or moves points. Right button erases.";
25: char instructions1[] = " default -- PT_LINETO ";
26: char instructions2[] = " <shift> -- PT_MOVETO ";
27: char instructions3[] = " <ctrl> -- PT_BEZIERTO";
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.