|
|
/******************************Module*Header*******************************\ * Module Name: wndstuff.rc * * Created: 09-Dec-1992 10:50:23 * Author: Kirk Olynyk [kirko] * * Copyright (c) 1991-2000 Microsoft Corporation * \**************************************************************************/
#include "windows.h" #include "wndstuff.h"
POLYTESTICON ICON polytest.ico
MainMenu MENU BEGIN POPUP "&Shape" BEGIN MENUITEM "&Polygon", MM_POLYGON, CHECKED MENUITEM "&Lines", MM_LINES MENUITEM "&Bezier", MM_BEZIER MENUITEM "&Rectangle", MM_RECTANGLE MENUITEM "&Ellipse", MM_ELLIPSE MENUITEM "&Text path", MM_TEXTPATH MENUITEM SEPARATOR MENUITEM "&Fill", MM_FILL MENUITEM "&Draw", MM_DRAW, CHECKED MENUITEM "&Widenpath", MM_WIDENPATH END POPUP "&Options" BEGIN MENUITEM "&Antialias", MM_ANTIALIAS MENUITEM "&Winding fill", MM_WINDING MENUITEM "&Spine", MM_SPINE MENUITEM "&Clip Grid", MM_CLIPGRID MENUITEM "&Random Test", MM_RANDOMTEST MENUITEM "A&nchors", MM_ANCHORS, CHECKED MENUITEM "&Gamma-correct blend",MM_GAMMACORRECT MENUITEM SEPARATOR MENUITEM "&GDI", MM_GDI END POPUP "T&ransform" BEGIN MENUITEM "&Overlay", MM_TRANSFORMOVERLAY MENUITEM "Scaling Only (Not implemented)", MM_SCALINGONLY MENUITEM "Edit...", MM_EDITTRANSFORM MENUITEM SEPARATOR MENUITEM "Reset", MM_RESETTRANSFORM END POPUP "&Pen" BEGIN MENUITEM "&Width...", MM_WIDTH MENUITEM "&Alpha...", MM_ALPHA POPUP "&Style" BEGIN MENUITEM "&Solid", MM_STYLE_SOLID, CHECKED MENUITEM "Dash", MM_STYLE_DASH MENUITEM "&Dot", MM_STYLE_DOT MENUITEM "Dash Dot", MM_STYLE_DASHDOT MENUITEM "Dash Dot Dot", MM_STYLE_DASHDOTDOT END POPUP "&Cap" BEGIN MENUITEM "&Round", MM_CAP_ROUND MENUITEM "&Flat", MM_CAP_FLAT, CHECKED MENUITEM "&Square", MM_CAP_SQUARE MENUITEM "&Triangle", MM_CAP_TRIANGLE END POPUP "&Join Style" BEGIN MENUITEM "&Round", MM_JOIN_ROUND MENUITEM "&Bevel", MM_JOIN_BEVEL MENUITEM "Miter", MM_JOIN_MITER, CHECKED END POPUP "A&lignment" BEGIN MENUITEM "&Center", MM_ALIGNMENT_CENTER, CHECKED MENUITEM "&Inset", MM_ALIGNMENT_INSET END MENUITEM "&Miter limit...", MM_MITERLIMIT MENUITEM "&Compound", MM_COMPOUND END POPUP "&Brush" BEGIN POPUP "&Type" BEGIN MENUITEM "Solid color", MM_BRUSH_SOLID, CHECKED MENUITEM "Texture", MM_BRUSH_TEXTURE MENUITEM "Texture 32x32", MM_BRUSH_TEXTURE_32x32 MENUITEM "Texture 1x1", MM_BRUSH_TEXTURE_1x1 MENUITEM "Linear Gradient", MM_BRUSH_LINEAR MENUITEM "Path Gradient", MM_BRUSH_PATHGRADIENT END POPUP "&Wrap mode" BEGIN MENUITEM "Tile", MM_WRAP_TILE, CHECKED MENUITEM "Clamp", MM_WRAP_CLAMP MENUITEM "FlipX", MM_WRAP_FLIPX MENUITEM "FlipY", MM_WRAP_FLIPY MENUITEM "FlipXY", MM_WRAP_FLIPXY END MENUITEM "Track Linear Gradient", MM_DYNAMICBRUSHRECTANGLE MENUITEM "Edit Brush Shape", MM_EDITBRUSHSHAPE END MENUITEM "Po&ints!", MM_POINTS MENUITEM "&Time!", MM_TIME END
SAMPLE_BITMAP BITMAP winnt256.bmp
Width DIALOG 30, 30, 80, 43 STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE CAPTION "Enter Width" { EDITTEXT IDD_WIDTH, 25, 6, 30, 12 DEFPUSHBUTTON "&Ok" IDD_OK, 10, 23, 60, 14 }
Alpha DIALOG 30, 30, 80, 43 STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE CAPTION "Enter Alpha (0 - 255)" { EDITTEXT IDD_ALPHA, 25, 6, 30, 12 DEFPUSHBUTTON "&Ok" IDD_OK, 10, 23, 60, 14 } Points DIALOG 0, 0, 110, 140 STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE CAPTION "Enter Points" { LTEXT "Point &1" -1, 6, 8, 40, 8 EDITTEXT IDD_POINT1X, 36, 6, 30, 12 EDITTEXT IDD_POINT1Y, 70, 6, 30, 12 LTEXT "Point &2" -1, 6, 24, 40, 8 EDITTEXT IDD_POINT2X, 36, 22, 30, 12 EDITTEXT IDD_POINT2Y, 70, 22, 30, 12 LTEXT "Point &3" -1, 6, 40, 40, 8 EDITTEXT IDD_POINT3X, 36, 38, 30, 12 EDITTEXT IDD_POINT3Y, 70, 38, 30, 12 LTEXT "Point &4" -1, 6, 56, 40, 8 EDITTEXT IDD_POINT4X, 36, 54, 30, 12 EDITTEXT IDD_POINT4Y, 70, 54, 30, 12 DEFPUSHBUTTON "&Ok" IDD_OK, 22, 120, 60, 14 }
Transform DIALOG 0, 0, 90, 72 STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE CAPTION "Enter Transform" { EDITTEXT IDD_M11, 6, 6, 36, 12 EDITTEXT IDD_M12, 48, 6, 36, 12 EDITTEXT IDD_M21, 6, 22, 36, 12 EDITTEXT IDD_M22, 48, 22, 36, 12 EDITTEXT IDD_M31, 6, 38, 30, 12 EDITTEXT IDD_M32, 48, 38, 30, 12 DEFPUSHBUTTON "&Ok" IDD_OK 6, 54, 36, 12 } ACCELS ACCELERATORS BEGIN VK_SPACE, MM_REDRAW, VIRTKEY END
|