GDIDEMO.RC
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:4k
源码类别:
Windows编程
开发平台:
Visual C++
- //-----------------------------------------------------------------------------
- // This is a part of the Microsoft Source Code Samples.
- // Copyright (C) 1993-1997 Microsoft Corporation.
- // All rights reserved.
- //
- // This source code is only intended as a supplement to
- // Microsoft Development Tools and/or WinHelp documentation.
- // See these sources for detailed information regarding the
- // Microsoft samples programs.
- //-----------------------------------------------------------------------------
- #include <windows.h>
- #include "gdidemo.h"
- APPICON ICON gdidemo.ico
- APPMENU MENU
- BEGIN
- POPUP "&Demo"
- BEGIN
- MENUITEM "&PolyBezier" , IDM_DEMO_POLYBEZIER
- MENUITEM "&XForm" , IDM_DEMO_XFORM, GRAYED
- MENUITEM "&Maze" , IDM_DEMO_MAZE, GRAYED
- MENUITEM "&Random Objects" , IDM_DEMO_DRAW
- MENUITEM "&Bouncing Ball" , IDM_DEMO_BOUNCE
- END
- POPUP "&Arrange"
- BEGIN
- MENUITEM "&Cascade" , IDM_WINDOW_CASCADE
- MENUITEM "&Tile" , IDM_WINDOW_TILE
- MENUITEM "&Icons" , IDM_WINDOW_ICON
- END
- POPUP "a&Help"
- BEGIN
- MENUITEM "&About..." , IDM_HELP_ABOUT
- END
- END
- ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 26, 25, 200, 90
- CAPTION "About GDIDEMO"
- STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP
- BEGIN
- CONTROL "" , -1 , "static", SS_WHITERECT | WS_CHILD , 48, 17, 104, 56
- CONTROL "NTWINT" , -1 , "static", SS_CENTER | WS_CHILD , 50, 19, 100, 8
- CONTROL "Copyright 1990-1995" , -1 , "static", SS_CENTER | WS_CHILD , 50, 27, 100, 8
- CONTROL "May 31, 1991" , -1 , "static", SS_CENTER | WS_CHILD , 50, 35, 100, 8
- CONTROL "Version 1.00" , -1 , "static", SS_CENTER | WS_CHILD , 50, 43, 100, 8
- CONTROL "OK" , IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 50, 54, 100, 17
- END
- STRINGTABLE
- BEGIN
- BOUNCETITLE, "Bouncing Ball Demo (xforms)"
- DRAWTITLE, "Random Objects Demo"
- MAZETITLE, "Maze Demo"
- POLYTITLE, "PolyBezier Demo"
- XFORMTITLE, "Transform Demo"
- END
- #ifdef JAPAN
- LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
- APPMENU MENU
- BEGIN
- POPUP "僨儌(&D)"
- BEGIN
- MENUITEM "億儕傿 儀僕僄(&P)" , IDM_DEMO_POLYBEZIER
- MENUITEM "倃僼僅乕儉(&X)" , IDM_DEMO_XFORM, GRAYED
- MENUITEM "儊僀僘(&M)" , IDM_DEMO_MAZE, GRAYED
- MENUITEM "儔儞僟儉 僆僽僕僃僋僩(&R)", IDM_DEMO_DRAW
- MENUITEM "僶僂儞僔儞僌 儃乕儖(&B)" , IDM_DEMO_BOUNCE
- END
- POPUP "惍楍(&A)"
- BEGIN
- MENUITEM "廳偹偰昞帵(&C)" , IDM_WINDOW_CASCADE
- MENUITEM "暲傋偰昞帵(&T)" , IDM_WINDOW_TILE
- MENUITEM "傾僀僐儞偺惍楍(&I)" , IDM_WINDOW_ICON
- END
- POPUP "a僿儖僾(&H)"
- BEGIN
- MENUITEM "僶乕僕儑儞忣曬(&A)..." , IDM_HELP_ABOUT
- END
- END
- ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 26, 25, 200, 90
- CAPTION "GDI僨儌 偺僶乕僕儑儞忣曬"
- STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP
- BEGIN
- CONTROL "" , -1 , "static", SS_WHITERECT | WS_CHILD , 48, 17, 104, 56
- CONTROL "Windows NT" , -1 , "static", SS_CENTER | WS_CHILD , 50, 19, 100, 8
- CONTROL "Copyright (C) 1990-1995" , -1 , "static", SS_CENTER | WS_CHILD , 50, 27, 100, 8
- CONTROL "January 31, 1994" , -1 , "static", SS_CENTER | WS_CHILD , 50, 35, 100, 8
- CONTROL "Version 1.00" , -1 , "static", SS_CENTER | WS_CHILD , 50, 43, 100, 8
- CONTROL "OK" , IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 50, 54, 100, 17
- END
- STRINGTABLE
- BEGIN
- BOUNCETITLE, "僶僂儞僔儞僌 儃乕儖乮倃僼僅乕儉乯"
- DRAWTITLE, "儔儞僟儉 僆僽僕僃僋僩 僨儌"
- MAZETITLE, "儊僀僘 僨儌"
- POLYTITLE, "億儕傿 儀僕僄 僨儌"
- XFORMTITLE, "僩儔儞僗僼僅乕儉 僨儌"
- END
- #endif