⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setup_microwin.h

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 H
📖 第 1 页 / 共 3 页
字号:
// Recommended setting: 1 if you have the QT SDK installed and you need it, else 0#define wxUSE_QUICKTIME     0// Use DirectShow//// Default is 0//// Recommended setting: 1 if the DirectX 7 SDK is installed (highly recommended), else 0#define wxUSE_DIRECTSHOW    1// Use wxWidget's XRC XML-based resource system.  Recommended.//// Default is 1//// Recommended setting: 1 (requires wxUSE_XML)#define wxUSE_XRC       1// XML parsing classes. Note that their API will change in the future, so// using wxXmlDocument and wxXmlNode in your app is not recommended.//// Default is 1//// Recommended setting: 1 (required by XRC)#if wxUSE_XRC#  define wxUSE_XML       1#else#  define wxUSE_XML       0#endif// ----------------------------------------------------------------------------// Individual GUI controls// ----------------------------------------------------------------------------// You must set wxUSE_CONTROLS to 1 if you are using any controls at all// (without it, wxControl class is not compiled)//// Default is 1//// Recommended setting: 1 (don't change except for very special programs)#define wxUSE_CONTROLS     1// wxPopupWindow class is not used currently by wxMSW//// Default is 0//// Recommended setting: 0#define wxUSE_POPUPWIN     1// wxTipWindow allows to implement the custom tooltips, it is used by the// context help classes. Requires wxUSE_POPUPWIN.//// Default is 1//// Recommended setting: 1 (may be set to 0)#define wxUSE_TIPWINDOW    1// Each of the settings below corresponds to one wxWidgets control. They are// all switched on by default but may be disabled if you are sure that your// program (including any standard dialogs it can show!) doesn't need them and// if you desperately want to save some space. If you use any of these you must// set wxUSE_CONTROLS as well.//// Default is 1//// Recommended setting: 1#define wxUSE_BUTTON       1    // wxButton#define wxUSE_BMPBUTTON    1    // wxBitmapButton#define wxUSE_CALENDARCTRL 0    // wxCalendarCtrl#define wxUSE_CHECKBOX     1    // wxCheckBox#define wxUSE_CHECKLISTBOX 1    // wxCheckListBox (requires wxUSE_OWNER_DRAWN)#define wxUSE_CHOICE       1    // wxChoice#define wxUSE_COMBOBOX     1    // wxComboBox#define wxUSE_GAUGE        1    // wxGauge#define wxUSE_LISTBOX      1    // wxListBox#define wxUSE_LISTCTRL     0    // wxListCtrl#define wxUSE_RADIOBOX     1    // wxRadioBox#define wxUSE_RADIOBTN     1    // wxRadioButton#define wxUSE_SCROLLBAR    1    // wxScrollBar#define wxUSE_SLIDER       1    // wxSlider#define wxUSE_SPINBTN      1    // wxSpinButton#define wxUSE_SPINCTRL     1    // wxSpinCtrl#define wxUSE_STATBOX      1    // wxStaticBox#define wxUSE_STATLINE     1    // wxStaticLine#define wxUSE_STATTEXT     1    // wxStaticText#define wxUSE_STATBMP      1    // wxStaticBitmap#define wxUSE_TEXTCTRL     1    // wxTextCtrl#define wxUSE_TOGGLEBTN    0    // requires wxButton#define wxUSE_TREECTRL     0    // wxTreeCtrl// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR// below either wxStatusBar95 or a generic wxStatusBar will be used.//// Default is 1//// Recommended setting: 1#define wxUSE_STATUSBAR    1// Two status bar implementations are available under Win32: the generic one// or the wrapper around native control. For native look and feel the native// version should be used.//// Default is 1.//// Recommended setting: 1 (there is no advantage in using the generic one)#define wxUSE_NATIVE_STATUSBAR        0// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar// classes at all. Otherwise, use the native toolbar class unless// wxUSE_TOOLBAR_NATIVE is 0.//// Default is 1 for all settings.//// Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.#define wxUSE_TOOLBAR 0#define wxUSE_TOOLBAR_NATIVE 0// wxNotebook is a control with several "tabs" located on one of its sides. It// may be used ot logically organise the data presented to the user instead of// putting everything in one huge dialog. It replaces wxTabControl and related// classes of wxWin 1.6x.//// Default is 1.//// Recommended setting: 1#define wxUSE_NOTEBOOK 1// wxTabDialog is a generic version of wxNotebook but it is incompatible with// the new class. It shouldn't be used in new code.//// Default is 0.//// Recommended setting: 0 (use wxNotebook)#define wxUSE_TAB_DIALOG    0// wxGrid class// Default is 1//#define wxUSE_GRID         0// wxProperty[Value/Form/List] classes, used by Dialog Editor#define wxUSE_PROPSHEET    0// ----------------------------------------------------------------------------// Miscellaneous GUI stuff// ----------------------------------------------------------------------------// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)#define wxUSE_ACCEL 0// Use wxCaret: a class implementing a "cursor" in a text control (called caret// under Windows).//// Default is 1.//// Recommended setting: 1 (can be safely set to 0, not used by the library)#define wxUSE_CARET         1// Miscellaneous geometry code: needed for Canvas library#define wxUSE_GEOMETRY            1// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and// wxListCtrl.//// Default is 1.//// Recommended setting: 1 (set it to 0 if you don't use any of the controls// enumerated above, then this class is mostly useless too)#define wxUSE_IMAGLIST      1// Use wxMenu, wxMenuBar, wxMenuItem.//// Default is 1.//// Recommended setting: 1 (can't be disabled under MSW)#define wxUSE_MENUS         1// Use wxSashWindow class.//// Default is 1.//// Recommended setting: 1#define wxUSE_SASH          1// Use wxSplitterWindow class.//// Default is 1.//// Recommended setting: 1#define wxUSE_SPLITTER      1// Use wxToolTip and wxWindow::Set/GetToolTip() methods.//// Default is 1.//// Recommended setting: 1#define wxUSE_TOOLTIPS      0// wxValidator class and related methods#define wxUSE_VALIDATORS 0// wxDC cacheing implementation#define wxUSE_DC_CACHEING 0// ----------------------------------------------------------------------------// common dialogs// ----------------------------------------------------------------------------// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g.// file selector, printer dialog). Switching this off also switches off the// printing architecture and interactive wxPrinterDC.//// Default is 1//// Recommended setting: 1 (unless it really doesn't work)#define wxUSE_COMMON_DIALOGS 1// wxBusyInfo displays window with message when app is busy. Works in same way// as wxBusyCursor#define wxUSE_BUSYINFO      0// Use single/multiple choice dialogs.//// Default is 1//// Recommended setting: 1 (used in the library itself)#define wxUSE_CHOICEDLG     1// Use colour picker dialog//// Default is 1//// Recommended setting: 1#define wxUSE_COLOURDLG     0// wxDirDlg class for getting a directory name from user#define wxUSE_DIRDLG 0// TODO: setting to choose the generic or native one// Use file open/save dialogs.//// Default is 1//// Recommended setting: 1 (used in many places in the library itself)#define wxUSE_FILEDLG       0// Use find/replace dialogs.//// Default is 1//// Recommended setting: 1 (but may be safely set to 0)#define wxUSE_FINDREPLDLG       0// Use font picker dialog//// Default is 1//// Recommended setting: 1 (used in the library itself)#define wxUSE_FONTDLG       0// Use wxMessageDialog and wxMessageBox.//// Default is 1//// Recommended setting: 1 (used in the library itself)#define wxUSE_MSGDLG        1// progress dialog class for lengthy operations#define wxUSE_PROGRESSDLG 0// support for startup tips (wxShowTip &c)#define wxUSE_STARTUP_TIPS 0// text entry dialog and wxGetTextFromUser function#define wxUSE_TEXTDLG 0// number entry dialog#define wxUSE_NUMBERDLG 0// splash screen class#define wxUSE_SPLASH 0// wizards#define wxUSE_WIZARDDLG 0// ----------------------------------------------------------------------------// Metafiles support// ----------------------------------------------------------------------------// Windows supports the graphics format known as metafile which is, though not// portable, is widely used under Windows and so is supported by wxWin (under// Windows only, of course). Win16 (Win3.1) used the so-called "Window// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by// default, WMFs will be used under Win16 and EMFs under Win32. This may be// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile// in any metafile related classes at all.//// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.//// Recommended setting: default or 0 for everything for portable programs.#define wxUSE_METAFILE              0#define wxUSE_ENH_METAFILE          0#define wxUSE_WIN_METAFILES_ALWAYS  0// ----------------------------------------------------------------------------// Big GUI components// ----------------------------------------------------------------------------// Set to 0 to disable document/view architecture#define wxUSE_DOC_VIEW_ARCHITECTURE 0// Set to 0 to disable MDI document/view architecture#define wxUSE_MDI_ARCHITECTURE    0// Set to 0 to disable print/preview architecture code#define wxUSE_PRINTING_ARCHITECTURE  0// wxHTML sublibrary allows to display HTML in wxWindow programs and much,// much more.//// Default is 1.//// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a// smaller library.#define wxUSE_HTML          0// OpenGL canvas#define wxUSE_GLCANVAS       0// wxTreeLayout class#define wxUSE_TREELAYOUT     0// ----------------------------------------------------------------------------// Data transfer// ----------------------------------------------------------------------------// Use wxClipboard class for clipboard copy/paste.//// Default is 1.//// Recommended setting: 1#define wxUSE_CLIPBOARD     0// Use wxDataObject and related classes. Needed for clipboard and OLE drag and// drop//// Default is 1.//// Recommended setting: 1#define wxUSE_DATAOBJ       0// Use wxDropTarget and wxDropSource classes for drag and drop (this is// different from "built in" drag and drop in wxTreeCtrl which is always// available). Requires wxUSE_DATAOBJ.//// Default is 1.//// Recommended setting: 1#define wxUSE_DRAG_AND_DROP 0// ----------------------------------------------------------------------------// miscellaneous settings// ----------------------------------------------------------------------------// wxSingleInstanceChecker class allows to verify at startup if another program// instance is running (it is only available under Win32)//// Default is 1//// Recommended setting: 1 (the class is tiny, disabling it won't save much// space)#define wxUSE_SNGLINST_CHECKER  0#define wxUSE_DRAGIMAGE 0#define wxUSE_IPC         0                                // 0 for no interprocess comms#define wxUSE_HELP        0                                // 0 for no help facility#define wxUSE_MS_HTML_HELP 0                                // 0 for no MS HTML Help// Use wxHTML-based help controller?#define wxUSE_WXHTML_HELP 0#define wxUSE_RESOURCES   0                                // 0 for no wxGetResource/wxWriteResource#define wxUSE_CONSTRAINTS 1                                // 0 for no window layout constraint system#define wxUSE_SPLINES     1                                // 0 for no splines

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -