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