]> git.saurik.com Git - wxWidgets.git/blob - samples/nativdlg/dialog1.rc
Some parts rewritten to use wxSocket events instead of callbacks, as the
[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 #ifndef __WIN95__
13 #define __WIN95__
14 #endif
15
16 #ifdef __GNUWIN32__
17 #define wxID_OK 5100
18 #define wxID_CANCEL 5101
19 #define wxID_APPLY 5102
20 #define wxID_YES 5103
21 #define wxID_NO 5104
22 /* #include <wx/msw/gnuwin32/winresrc.h> */
23 #else
24 #include <wx/defs.h>
25 /* #include <windows.h> */
26 #endif
27
28 #include "resource.h"
29
30 #if !defined(__GNUWIN32__)
31 #include <commctrl.h>
32 #endif
33
34 #define APSTUDIO_READONLY_SYMBOLS
35 /////////////////////////////////////////////////////////////////////////////
36 // English (U.K.) resources
37
38 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
39 #ifdef _WIN32
40 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
41 #pragma code_page(1252)
42 #endif //_WIN32
43
44 /////////////////////////////////////////////////////////////////////////////
45 //
46 // Dialog
47 //
48
49 dialog1 DIALOG DISCARDABLE 0, 0, 271, 172
50 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
51 CAPTION "Test Dialog"
52 FONT 8, "MS Sans Serif"
53 BEGIN
54 DEFPUSHBUTTON "OK",wxID_OK,214,7,50,14
55 PUSHBUTTON "Cancel",wxID_CANCEL,214,24,50,14
56 GROUPBOX "wxStaticBox",IDC_STATIC,7,7,198,158
57 EDITTEXT IDC_EDIT1,64,23,125,14,ES_AUTOHSCROLL
58 LTEXT "wxStaticText",IDC_STATIC,13,25,42,8
59 CONTROL "wxCheckBox",IDC_CHECK1,"Button",BS_AUTOCHECKBOX |
60 WS_TABSTOP,14,47,57,10
61 COMBOBOX IDC_COMBO1,83,46,48,30,CBS_DROPDOWN | CBS_SORT |
62 WS_VSCROLL | WS_TABSTOP
63 CONTROL "wxRadioButton",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,
64 141,47,64,10
65 LISTBOX IDC_LIST1,14,69,86,40,LBS_SORT | LBS_NOINTEGRALHEIGHT |
66 WS_VSCROLL | WS_TABSTOP
67 SCROLLBAR IDC_SCROLLBAR1,111,71,76,11
68 CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH |
69 TBS_NOTICKS | WS_TABSTOP,10,116,100,15
70 CONTROL "Spin1",IDC_SPIN1,"msctls_updown32",UDS_ARROWKEYS,111,90,
71 10,14
72 END
73
74 #endif // English (U.K.) resources
75 /////////////////////////////////////////////////////////////////////////////
76