~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/w16gui/poppad.rc

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 
2
/* 
 
3
 * The contents of this file are subject to the Mozilla Public
 
4
 * License Version 1.1 (the "License"); you may not use this file
 
5
 * except in compliance with the License. You may obtain a copy of
 
6
 * the License at http://www.mozilla.org/MPL/
 
7
 * 
 
8
 * Software distributed under the License is distributed on an "AS
 
9
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
10
 * implied. See the License for the specific language governing
 
11
 * rights and limitations under the License.
 
12
 * 
 
13
 * The Original Code is the Netscape Portable Runtime (NSPR).
 
14
 * 
 
15
 * The Initial Developer of the Original Code is Netscape
 
16
 * Communications Corporation.  Portions created by Netscape are 
 
17
 * Copyright (C) 1998-2000 Netscape Communications Corporation.  All
 
18
 * Rights Reserved.
 
19
 * 
 
20
 * Contributor(s):
 
21
 * 
 
22
 * Alternatively, the contents of this file may be used under the
 
23
 * terms of the GNU General Public License Version 2 or later (the
 
24
 * "GPL"), in which case the provisions of the GPL are applicable 
 
25
 * instead of those above.  If you wish to allow use of your 
 
26
 * version of this file only under the terms of the GPL and not to
 
27
 * allow others to use your version of this file under the MPL,
 
28
 * indicate your decision by deleting the provisions above and
 
29
 * replace them with the notice and other provisions required by
 
30
 * the GPL.  If you do not delete the provisions above, a recipient
 
31
 * may use your version of this file under either the MPL or the
 
32
 * GPL.
 
33
 */
 
34
 
 
35
/*---------------------------
 
36
   POPPAD.RC resource script
 
37
  ---------------------------*/
 
38
 
 
39
#include <windows.h>
 
40
#include "poppad.h"
 
41
 
 
42
PopPad ICON "poppad.ico"
 
43
 
 
44
PopPad MENU
 
45
     {
 
46
     POPUP "&File"
 
47
          {
 
48
          MENUITEM "&New",              IDM_NEW
 
49
          MENUITEM "&Open...",          IDM_OPEN
 
50
          MENUITEM "&Save",             IDM_SAVE
 
51
          MENUITEM "Save &As...",       IDM_SAVEAS
 
52
          MENUITEM SEPARATOR
 
53
          MENUITEM "&Print...",         IDM_PRINT
 
54
          MENUITEM SEPARATOR
 
55
          MENUITEM "E&xit",             IDM_EXIT
 
56
          }
 
57
     POPUP "&Edit"
 
58
          {
 
59
          MENUITEM "&Undo\tCtrl+Z",     IDM_UNDO
 
60
          MENUITEM SEPARATOR
 
61
          MENUITEM "Cu&t\tCtrl+X",      IDM_CUT
 
62
          MENUITEM "&Copy\tCtrl+C",     IDM_COPY
 
63
          MENUITEM "&Paste\tCtrl+V",    IDM_PASTE
 
64
          MENUITEM "De&lete\tDel",      IDM_DEL
 
65
          MENUITEM SEPARATOR
 
66
          MENUITEM "&Select All",       IDM_SELALL
 
67
          }
 
68
     POPUP "&Search"
 
69
          {
 
70
          MENUITEM "&Find...",          IDM_FIND
 
71
          MENUITEM "Find &Next\tF3",    IDM_NEXT
 
72
          MENUITEM "&Replace...",       IDM_REPLACE
 
73
          }
 
74
     POPUP "&Character"
 
75
          {
 
76
          MENUITEM "&Font...",          IDM_FONT
 
77
          }
 
78
     POPUP "&Help"
 
79
          {
 
80
          MENUITEM "&Help",             IDM_HELP
 
81
          MENUITEM "&About PopPad...",  IDM_ABOUT
 
82
          }
 
83
     }
 
84
 
 
85
PopPad ACCELERATORS
 
86
     {
 
87
     "^Z",      IDM_UNDO
 
88
     VK_BACK,   IDM_UNDO,  VIRTKEY, ALT
 
89
     "^X",      IDM_CUT
 
90
     VK_DELETE, IDM_CUT,   VIRTKEY, SHIFT
 
91
     "^C",      IDM_COPY
 
92
     VK_INSERT, IDM_COPY,  VIRTKEY, CONTROL
 
93
     "^V",      IDM_PASTE
 
94
     VK_INSERT, IDM_PASTE, VIRTKEY, SHIFT
 
95
     VK_DELETE, IDM_DEL,   VIRTKEY
 
96
     VK_F3,     IDM_NEXT,  VIRTKEY
 
97
     VK_F1,     IDM_HELP,  VIRTKEY
 
98
     }
 
99
 
 
100
AboutBox DIALOG  20, 20, 160, 80
 
101
     STYLE WS_POPUP | WS_DLGFRAME
 
102
     {
 
103
     CTEXT "PopPad"                              -1,   0, 12, 160,  8
 
104
     ICON  "PopPad"                              -1,   8,  8,   0,  0
 
105
     CTEXT "Popup Editor for Microsoft Windows"  -1,   0, 36, 160,  8
 
106
     CTEXT "Copyright (c) Charles Petzold, 1992" -1,   0, 48, 160,  8
 
107
     DEFPUSHBUTTON "OK"                        IDOK,  64, 60,  32, 14, WS_GROUP
 
108
     } 
 
109
 
 
110
PrintDlgBox DIALOG 20, 20, 100, 76
 
111
     STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
 
112
     CAPTION "PopPad"
 
113
     {
 
114
     CTEXT "Sending",                  -1,  0, 10, 100,  8
 
115
     CTEXT "",                  IDD_FNAME,  0, 20, 100,  8
 
116
     CTEXT "to print spooler.",        -1,  0, 30, 100,  8
 
117
     DEFPUSHBUTTON  "Cancel",    IDCANCEL, 34, 50,  32, 14, WS_GROUP
 
118
     }