]> git.saurik.com Git - wxWidgets.git/blob - samples/nativdlg/dialog1.rc
check the item id validity in SetItem()
[wxWidgets.git] / samples / nativdlg / dialog1.rc
1 //Microsoft Developer Studio generated resource script.
2 //
3
4 #ifndef __WXMSW__
5 #define __WXMSW__
6 #endif
7
8 #ifndef __WIN32__
9 #define __WIN32__
10 #endif
11
12 //#ifdef _MSC_VER
13 #define __VISUALC__ _MSC_VER
14 //#endif
15
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
21
22 #include "resource.h"
23
24 #if !defined(__GNUWIN32__) && !defined(__BORLANDC__)
25 #include <commctrl.h>
26 #endif
27
28 #define APSTUDIO_READONLY_SYMBOLS
29 /////////////////////////////////////////////////////////////////////////////
30 // English (U.K.) resources
31
32 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
33 #ifdef _WIN32
34 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
35 #pragma code_page(1252)
36 #endif //_WIN32
37
38 /////////////////////////////////////////////////////////////////////////////
39 //
40 // Dialog
41 //
42
43 dialog1 DIALOG DISCARDABLE 0, 0, 271, 172
44 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
45 CAPTION "Test Dialog"
46 FONT 8, "MS Sans Serif"
47 BEGIN
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
53 CONTROL "wxCheckBox",IDC_CHECK1,"Button",BS_AUTOCHECKBOX |
54 WS_TABSTOP,14,47,57,10
55 COMBOBOX IDC_COMBO1,83,46,48,30,CBS_DROPDOWN | CBS_SORT |
56 WS_VSCROLL | WS_TABSTOP
57 CONTROL "wxRadioButton",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,
58 141,47,64,10
59 LISTBOX IDC_LIST1,14,69,86,40,LBS_SORT | LBS_NOINTEGRALHEIGHT |
60 WS_VSCROLL | WS_TABSTOP
61 SCROLLBAR IDC_SCROLLBAR1,111,71,76,11
62 CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH |
63 TBS_NOTICKS | WS_TABSTOP,10,116,100,15
64 CONTROL "Spin1",IDC_SPIN1,"msctls_updown32",UDS_ARROWKEYS,111,90,
65 10,14
66 END
67
68 #endif // English (U.K.) resources
69 /////////////////////////////////////////////////////////////////////////////