]> git.saurik.com Git - wxWidgets.git/blame - samples/nativdlg/dialog1.rc
check the item id validity in SetItem()
[wxWidgets.git] / samples / nativdlg / dialog1.rc
CommitLineData
bbf1f0e5
KB
1//Microsoft Developer Studio generated resource script.
2//
3
2049ba38
KB
4#ifndef __WXMSW__
5#define __WXMSW__
bbf1f0e5
KB
6#endif
7
8#ifndef __WIN32__
9#define __WIN32__
10#endif
11
f6bcfd97
BP
12//#ifdef _MSC_VER
13#define __VISUALC__ _MSC_VER
14//#endif
15
bbf1f0e5
KB
16#define wxID_OK 5100
17#define wxID_CANCEL 5101
18#define wxID_APPLY 5102
19#define wxID_YES 5103
20#define wxID_NO 5104
bbf1f0e5
KB
21
22#include "resource.h"
23
e5651604 24#if !defined(__GNUWIN32__) && !defined(__BORLANDC__)
bbf1f0e5
KB
25#include <commctrl.h>
26#endif
27
28#define APSTUDIO_READONLY_SYMBOLS
bbf1f0e5
KB
29/////////////////////////////////////////////////////////////////////////////
30// English (U.K.) resources
31
32#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
33#ifdef _WIN32
34LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
35#pragma code_page(1252)
36#endif //_WIN32
37
38/////////////////////////////////////////////////////////////////////////////
39//
40// Dialog
41//
42
43dialog1 DIALOG DISCARDABLE 0, 0, 271, 172
44STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
45CAPTION "Test Dialog"
46FONT 8, "MS Sans Serif"
47BEGIN
48 DEFPUSHBUTTON "OK",wxID_OK,214,7,50,14
49 PUSHBUTTON "Cancel",wxID_CANCEL,214,24,50,14
50 GROUPBOX "wxStaticBox",IDC_STATIC,7,7,198,158
51 EDITTEXT IDC_EDIT1,64,23,125,14,ES_AUTOHSCROLL
52 LTEXT "wxStaticText",IDC_STATIC,13,25,42,8
a71d815b 53 CONTROL "wxCheckBox",IDC_CHECK1,"Button",BS_AUTOCHECKBOX |
bbf1f0e5 54 WS_TABSTOP,14,47,57,10
a71d815b 55 COMBOBOX IDC_COMBO1,83,46,48,30,CBS_DROPDOWN | CBS_SORT |
bbf1f0e5
KB
56 WS_VSCROLL | WS_TABSTOP
57 CONTROL "wxRadioButton",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,
58 141,47,64,10
a71d815b 59 LISTBOX IDC_LIST1,14,69,86,40,LBS_SORT | LBS_NOINTEGRALHEIGHT |
bbf1f0e5
KB
60 WS_VSCROLL | WS_TABSTOP
61 SCROLLBAR IDC_SCROLLBAR1,111,71,76,11
a71d815b 62 CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH |
bbf1f0e5
KB
63 TBS_NOTICKS | WS_TABSTOP,10,116,100,15
64 CONTROL "Spin1",IDC_SPIN1,"msctls_updown32",UDS_ARROWKEYS,111,90,
65 10,14
66END
67
bbf1f0e5
KB
68#endif // English (U.K.) resources
69/////////////////////////////////////////////////////////////////////////////