Debian Codegraph @

external/bdwgc/cord/tests/de_win.rc

raw
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
11 #include "windows.h"
12 #include "de_cmds.h"
13 #include "de_win.h"
14
15 ABOUTBOX DIALOG 19, 21, 163, 47
16 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
17 CAPTION "About Demonstration Text Editor"
18 BEGIN
19 LTEXT "Demonstration Text Editor", -1, 44, 8, 118, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
20 PUSHBUTTON "OK", IDOK, 118, 27, 24, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
21 END
22
23 DE MENU
24 BEGIN
25 POPUP "&File"
26 BEGIN
27 MENUITEM "&Save\t^W", IDM_FILESAVE
28 MENUITEM "E&xit\t^D", IDM_FILEEXIT
29 END
30
31 POPUP "&Edit"
32 BEGIN
33 MENUITEM "Page &Down\t^R^N", IDM_EDITPDOWN
34 MENUITEM "Page &Up\t^R^P", IDM_EDITPUP
35 MENUITEM "U&ndo\t^U", IDM_EDITUNDO
36 MENUITEM "&Locate\t^L ... ^L", IDM_EDITLOCATE
37 MENUITEM "D&own\t^N", IDM_EDITDOWN
38 MENUITEM "U&p\t^P", IDM_EDITUP
39 MENUITEM "Le&ft\t^B", IDM_EDITLEFT
40 MENUITEM "&Right\t^F", IDM_EDITRIGHT
41 MENUITEM "Delete &Backward\tBS", IDM_EDITBS
42 MENUITEM "Delete F&orward\tDEL", IDM_EDITDEL
43 MENUITEM "&Top\t^T", IDM_EDITTOP
44 END
45
46 POPUP "&Help"
47 BEGIN
48 MENUITEM "&Contents", IDM_HELPCONTENTS
49 MENUITEM "&About...", IDM_HELPABOUT
50 END
51
52 MENUITEM "Page_&Down", IDM_EDITPDOWN
53 MENUITEM "Page_&Up", IDM_EDITPUP
54 END
55
56 DE ACCELERATORS
57 BEGIN
58 "^R", IDM_EDITREPEAT
59 "^N", IDM_EDITDOWN
60 "^P", IDM_EDITUP
61 "^L", IDM_EDITLOCATE
62 "^B", IDM_EDITLEFT
63 "^F", IDM_EDITRIGHT
64 "^T", IDM_EDITTOP
65 VK_DELETE, IDM_EDITDEL, VIRTKEY
66 VK_BACK, IDM_EDITBS, VIRTKEY
67 END