~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/extras/FreeType/contrib/win32/testw32.rc

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//Microsoft Developer Studio generated resource script.
 
2
//
 
3
#include "resource.h"
 
4
 
 
5
#define APSTUDIO_READONLY_SYMBOLS
 
6
/////////////////////////////////////////////////////////////////////////////
 
7
//
 
8
// Generated from the TEXTINCLUDE 2 resource.
 
9
//
 
10
#include "afxres.h"
 
11
 
 
12
/////////////////////////////////////////////////////////////////////////////
 
13
#undef APSTUDIO_READONLY_SYMBOLS
 
14
 
 
15
/////////////////////////////////////////////////////////////////////////////
 
16
// Italian (Italy) resources
 
17
 
 
18
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ITA)
 
19
#ifdef _WIN32
 
20
LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN
 
21
#pragma code_page(1252)
 
22
#endif //_WIN32
 
23
 
 
24
#ifdef APSTUDIO_INVOKED
 
25
/////////////////////////////////////////////////////////////////////////////
 
26
//
 
27
// TEXTINCLUDE
 
28
//
 
29
 
 
30
1 TEXTINCLUDE DISCARDABLE 
 
31
BEGIN
 
32
    "resource.h\0"
 
33
END
 
34
 
 
35
2 TEXTINCLUDE DISCARDABLE 
 
36
BEGIN
 
37
    "#include ""afxres.h""\r\n"
 
38
    "\0"
 
39
END
 
40
 
 
41
3 TEXTINCLUDE DISCARDABLE 
 
42
BEGIN
 
43
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
 
44
    "#define _AFX_NO_OLE_RESOURCES\r\n"
 
45
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
 
46
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
 
47
    "\r\n"
 
48
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ITA)\r\n"
 
49
    "#ifdef _WIN32\r\n"
 
50
    "LANGUAGE 16, 1\r\n"
 
51
    "#pragma code_page(1252)\r\n"
 
52
    "#endif\r\n"
 
53
    "#include ""res\\testw32.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
 
54
    "#include ""l.ita\\afxres.rc""          // Standard components\r\n"
 
55
    "#endif\0"
 
56
END
 
57
 
 
58
#endif    // APSTUDIO_INVOKED
 
59
 
 
60
 
 
61
/////////////////////////////////////////////////////////////////////////////
 
62
//
 
63
// Icon
 
64
//
 
65
 
 
66
// Icon with lowest ID value placed first to ensure application icon
 
67
// remains consistent on all systems.
 
68
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\testw32.ico"
 
69
 
 
70
/////////////////////////////////////////////////////////////////////////////
 
71
//
 
72
// Dialog
 
73
//
 
74
 
 
75
IDD_TESTW32_DIALOG DIALOGEX 0, 0, 331, 274
 
76
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
 
77
EXSTYLE WS_EX_APPWINDOW
 
78
CAPTION "testw32"
 
79
FONT 8, "MS Sans Serif"
 
80
BEGIN
 
81
    DEFPUSHBUTTON   "Run",IDOK,105,100,28,14
 
82
    PUSHBUTTON      "Exit",IDCANCEL,105,116,28,14
 
83
    CONTROL         "",IDC_BITMAP,"Static",SS_BLACKRECT,146,47,178,120
 
84
    LISTBOX         IDC_LIST_BOX,7,171,317,97,LBS_NOINTEGRALHEIGHT | 
 
85
                    WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
 
86
    PUSHBUTTON      "<-Select Action (q to quit test pgm)",IDC_SELECT_ACTION,
 
87
                    34,56,110,15
 
88
    EDITTEXT        IDC_ACTION,23,56,9,12,ES_AUTOHSCROLL
 
89
    COMBOBOX        IDC_TEST_PROGRAM,13,12,90,64,CBS_DROPDOWN | CBS_SORT | 
 
90
                    WS_VSCROLL | WS_TABSTOP
 
91
    LTEXT           "Test Program",IDC_STATIC,13,1,60,8
 
92
    EDITTEXT        IDC_OPTIONS,111,12,204,12,ES_AUTOHSCROLL
 
93
    LTEXT           "Options/Arguments",IDC_STATIC,109,2,73,8
 
94
    LTEXT           "Show Window",IDC_STATIC,146,37,70,8
 
95
END
 
96
 
 
97
 
 
98
#ifndef _MAC
 
99
/////////////////////////////////////////////////////////////////////////////
 
100
//
 
101
// Version
 
102
//
 
103
 
 
104
VS_VERSION_INFO VERSIONINFO
 
105
 FILEVERSION 1,0,0,1
 
106
 PRODUCTVERSION 1,0,0,1
 
107
 FILEFLAGSMASK 0x3fL
 
108
#ifdef _DEBUG
 
109
 FILEFLAGS 0x1L
 
110
#else
 
111
 FILEFLAGS 0x0L
 
112
#endif
 
113
 FILEOS 0x4L
 
114
 FILETYPE 0x1L
 
115
 FILESUBTYPE 0x0L
 
116
BEGIN
 
117
    BLOCK "StringFileInfo"
 
118
    BEGIN
 
119
        BLOCK "041004B0"
 
120
        BEGIN
 
121
            VALUE "CompanyName", "\0"
 
122
            VALUE "FileDescription", "testw32 Applicazione MFC\0"
 
123
            VALUE "FileVersion", "1, 0, 0, 1\0"
 
124
            VALUE "InternalName", "testw32\0"
 
125
            VALUE "LegalCopyright", "Copyright (C) 1998\0"
 
126
            VALUE "LegalTrademarks", "\0"
 
127
            VALUE "OriginalFilename", "testw32.EXE\0"
 
128
            VALUE "ProductName", "testw32 Applicazione\0"
 
129
            VALUE "ProductVersion", "1, 0, 0, 1\0"
 
130
        END
 
131
    END
 
132
    BLOCK "VarFileInfo"
 
133
    BEGIN
 
134
        VALUE "Translation", 0x410, 1200
 
135
    END
 
136
END
 
137
 
 
138
#endif    // !_MAC
 
139
 
 
140
 
 
141
/////////////////////////////////////////////////////////////////////////////
 
142
//
 
143
// DESIGNINFO
 
144
//
 
145
 
 
146
#ifdef APSTUDIO_INVOKED
 
147
GUIDELINES DESIGNINFO DISCARDABLE 
 
148
BEGIN
 
149
    IDD_TESTW32_DIALOG, DIALOG
 
150
    BEGIN
 
151
        LEFTMARGIN, 7
 
152
        RIGHTMARGIN, 324
 
153
        BOTTOMMARGIN, 268
 
154
    END
 
155
END
 
156
#endif    // APSTUDIO_INVOKED
 
157
 
 
158
 
 
159
/////////////////////////////////////////////////////////////////////////////
 
160
//
 
161
// Dialog Info
 
162
//
 
163
 
 
164
IDD_TESTW32_DIALOG DLGINIT
 
165
BEGIN
 
166
    IDC_TEST_PROGRAM, 0x403, 7, 0
 
167
0x5446, 0x4956, 0x5745, "\000" 
 
168
    IDC_TEST_PROGRAM, 0x403, 7, 0
 
169
0x5446, 0x5544, 0x504d, "\000" 
 
170
    IDC_TEST_PROGRAM, 0x403, 9, 0
 
171
0x5446, 0x5453, 0x4952, 0x474e, "\000" 
 
172
    IDC_TEST_PROGRAM, 0x403, 7, 0
 
173
0x5446, 0x494c, 0x544e, "\000" 
 
174
    0
 
175
END
 
176
 
 
177
#endif    // Italian (Italy) resources
 
178
/////////////////////////////////////////////////////////////////////////////
 
179
 
 
180
 
 
181
 
 
182
#ifndef APSTUDIO_INVOKED
 
183
/////////////////////////////////////////////////////////////////////////////
 
184
//
 
185
// Generated from the TEXTINCLUDE 3 resource.
 
186
//
 
187
#define _AFX_NO_SPLITTER_RESOURCES
 
188
#define _AFX_NO_OLE_RESOURCES
 
189
#define _AFX_NO_TRACKER_RESOURCES
 
190
#define _AFX_NO_PROPERTY_RESOURCES
 
191
 
 
192
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ITA)
 
193
#ifdef _WIN32
 
194
LANGUAGE 16, 1
 
195
#pragma code_page(1252)
 
196
#endif
 
197
#include "res\testw32.rc2"  // non-Microsoft Visual C++ edited resources
 
198
#include "l.ita\afxres.rc"          // Standard components
 
199
#endif
 
200
/////////////////////////////////////////////////////////////////////////////
 
201
#endif    // not APSTUDIO_INVOKED
 
202