home *** CD-ROM | disk | FTP | other *** search
-
- //-----------------------------------------------------------------------------
- // 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 "demo.h"
-
- Menu MENU
- BEGIN
- POPUP "&Options"
- BEGIN
- MENUITEM "&Line", IDM_BOX
- MENUITEM "&Box", IDM_BLOCK, CHECKED
- MENUITEM "&Retain", IDM_RETAIN
- MENUITEM SEPARATOR
- MENUITEM "&About Demo...", IDM_ABOUT
- END
- END
-
- AboutBox DIALOG 22, 17, 144, 75
- STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
- CAPTION "About Demo"
- BEGIN
- CTEXT "Microsoft Windows" -1, 0, 5, 144, 8
- CTEXT "Demo Library Application" -1, 0, 14, 144, 8
- CTEXT "Version 3.0" -1, 0, 34, 144, 8
- DEFPUSHBUTTON "OK" IDOK, 53, 59, 32, 14, WS_GROUP
- END
-
- STRINGTABLE
- BEGIN
- IDS_APPNAME "Demo Sample Application"
- IDS_NOMEM "<DemoInit> Not enough memory."
- END
-
- #ifdef JAPAN
- // Japanese language version of resources
- LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
-
- Menu MENU
- BEGIN
- POPUP "âIâvâVâçâô(&O)"
- BEGIN
- MENUITEM "Éⁿ(&L)", IDM_BOX
- MENUITEM "â{âbâNâX(&B)", IDM_BLOCK, CHECKED
- MENUITEM "ò█Ä¥(&R)", IDM_RETAIN
- MENUITEM SEPARATOR
- MENUITEM "âoü[âWâçâôÅεò±(&A)...", IDM_ABOUT
- END
- END
-
- AboutBox DIALOG 22, 17, 144, 75
- STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
- CAPTION "Demo é╠âoü[âWâçâôÅεò±"
- BEGIN
- CTEXT "Microsoft Windows" -1, 0, 5, 144, 8
- CTEXT "Demo ╫▓╠▐╫╪ ▒╠▀╪╣░╝«▌" -1, 0, 14, 144, 8
- CTEXT "Version 3.0" -1, 0, 34, 144, 8
- DEFPUSHBUTTON "OK" IDOK, 53, 59, 32, 14, WS_GROUP
- END
-
- STRINGTABLE
- BEGIN
- IDS_APPNAME "Demo âTâôâvâï âAâvâèâPü[âVâçâô"
- IDS_NOMEM "<DemoInit> âüâéâèòsæ½é┼é╖üB"
- END
-
- #endif
-