PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/gc/cord/de_win.RC

http://github.com/feyeleanor/RubyGoLightly
Unknown | 78 lines | 64 code | 14 blank | 0 comment | 0 complexity | 61d6fc655984a59ff3b4f7605e3a3a1d MD5 | raw file
 1/*
 2 * Copyright (c) 1991-1994 by Xerox Corporation.  All rights reserved.
 3 *
 4 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
 5 * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
 6 *
 7 * Permission is hereby granted to copy this garbage collector for any purpose,
 8 * provided the above notices are retained on all copies.
 9 */
10/* Boehm, May 13, 1994 9:50 am PDT */
11
12#include "windows.h"
13#include "de_cmds.h"
14#include "de_win.h"
15
16
17
18ABOUTBOX DIALOG 19, 21, 163, 47
19STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
20CAPTION "About Demonstration Text Editor"
21BEGIN
22	ICON "DE", -1, 8, 8, 13, 13, WS_CHILD | WS_VISIBLE
23	LTEXT "Demonstration Text Editor", -1, 44, 8, 118, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
24	LTEXT "Version 4.1", -1, 44, 16, 60, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
25	PUSHBUTTON "OK", IDOK, 118, 27, 24, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
26END
27
28
29DE MENU 
30BEGIN
31	POPUP "&File"
32	BEGIN
33		MENUITEM "&Save\t^W", IDM_FILESAVE
34		MENUITEM "E&xit\t^D", IDM_FILEEXIT
35	END
36
37	POPUP "&Edit"
38	BEGIN
39	    MENUITEM "Page &Down\t^R^N", IDM_EDITPDOWN
40	    MENUITEM "Page &Up\t^R^P", IDM_EDITPUP
41		MENUITEM "U&ndo\t^U", IDM_EDITUNDO
42		MENUITEM "&Locate\t^L ... ^L", IDM_EDITLOCATE
43		MENUITEM "D&own\t^N", IDM_EDITDOWN
44	    MENUITEM "U&p\t^P", IDM_EDITUP
45	    MENUITEM "Le&ft\t^B", IDM_EDITLEFT
46	    MENUITEM "&Right\t^F", IDM_EDITRIGHT
47	    MENUITEM "Delete &Backward\tBS", IDM_EDITBS
48	    MENUITEM "Delete F&orward\tDEL", IDM_EDITDEL
49	    MENUITEM "&Top\t^T", IDM_EDITTOP
50	END
51	
52	POPUP "&Help"
53	BEGIN
54		MENUITEM "&Contents", IDM_HELPCONTENTS
55		MENUITEM "&About...", IDM_HELPABOUT
56	END
57	
58	MENUITEM "Page_&Down", IDM_EDITPDOWN
59	MENUITEM "Page_&Up", IDM_EDITPUP
60END
61
62
63DE ACCELERATORS 
64BEGIN
65    "^R", IDM_EDITREPEAT
66    "^N", IDM_EDITDOWN
67    "^P", IDM_EDITUP
68    "^L", IDM_EDITLOCATE
69    "^B", IDM_EDITLEFT
70    "^F", IDM_EDITRIGHT
71    "^T", IDM_EDITTOP
72	VK_DELETE, IDM_EDITDEL, VIRTKEY
73	VK_BACK, IDM_EDITBS, VIRTKEY
74END
75
76
77DE ICON cord\de_win.ICO
78