Comparison between MFC and wxWidgets

Source: Internet
Author: User
Tags wxwidgets
Document directory
  • MFC and wxWidgets macros
  • MFC and wxWidgets classes
MFC and wxWidgets macros
MFC version WxWidgets version
BEGIN_MESSAGE_MAP BEGIN_EVENT_TABLE
END_MESSAGE_MAP END_EVENT_TABLE
DECLARE_DYNAMIC DECLARE_CLASS
DECLARE_DYNCREATE DECLARE_DYMAMIC_CLASS
IMPLEMENT_DYNAMIC IMPLEMENT_CLASS
IMPLEMENT_DYNCREATE IMPLEMENT_DYNAMIC_CLASS
IsKindOf
(RUNTIME_CLASS
(Cwindow ))
IsKindOf
(Classinfo (wxwindow ))
MFC and wxWidgets classes
Miscellaneous classes
MFC version WxWidgets version
CWinApp Wxapp
CObject Wxobject
CCmdTarget Wxevthandler
CCommandLineInfo Wxw.lineparser
CMenu Wxmenu
, Wmenubar
, Wxmenuitem
CWaitCursor Wxbusycursor
CDataExchange Wxvalidator
Window classes
MFC version WxWidgets version
CFrameWnd Wxframe
CMDIFrameWnd Wxmdiparentframe
CMDIChildWnd Wxmdichildframe
CSplitterWnd Wxsplitterwindow
CToolBar Wxtoolbar
CStatusBar Wxstatusbar
CReBar Wxcoolbar
, But see contrib/src/FL and wxaui
, Wxdockit
CPropertyPage Wxpanel
CPropertySheet Wxnotebook
, Wxpropertysheetdialog
Dialog classes
MFC version WxWidgets version
CDialog Wxdialog
CColorDialog Wxcolourdialog
CFileDialog Wxfiledialog
CFindReplaceDialog Wxfindreplacedialog
CFontDialog Wxfontdialog
CPageSetupDialog Wxpagesetupdialog
CPrintDialog Wxprintdialog
Control classes
MFC version WxWidgets version
CAnimateCtrl Wxmediactrl
, Wxanimationctrl
CButton Wxbutton
CBitmapButton Wxbitmapbutton
CComboBox Wxcombobox
, Wxchoice
CDateTimeCtrl Wxdatepickerctrl
CEdit Wxtextctrl
CHotKeyCtrl None, but see keybinder
CListBox
,CDragListBox
Wxlistbox
CCheckListBox Wxchecklistbox
CListCtrl Wxlistctrl
, Wxlistview
CMonthCalCtrl Wxcalendarctrl
CProgressCtrl Wxgauge
CReBarCtrl None, but see contrib/src/FL and wxaui
, Wxdockit
CRichEditCtrl Wxtextctrl
CScrollBar Wxscrollbar
CSliderCtrl Wxslider
CSpinButtonCtrl Wxspinbutton
, Wxspinctrl
CStatic Wxstatictext
, Wxstaticline
, Wxstaticbox
, Wxstaticbitmap
CStatusBarCtrl Wxstatusbar
CTabCtrl Wxtabctrl
CToolBarCtrl Wxtoolbar
CToolTipCtrl Wxtooltip
CTreeCtrl Wxtreectrl
Graphics classes
MFC version WxWidgets version
CBitmap Wxbitmap
, Wximage
, Wxicon
, Wxcursor
CBrush Wxbrush
CPen Wxpen
CFont Wxfont
CImageList Wximagelist
, Wxiconbundle
CPalette Wxpalette
CRgn Wxregion
CClientDC Wxclientdc
CMetaFileDC Wxmetafiledc
CPaintDC Wxpaintdc
CWindowDC Wxwindowdc
CDC Wxdc
, Wxmemorydc
Data structure classes
MFC version WxWidgets version
CArray
,CObArray
,CPtrArray
Wxarray
CStringArray Wxarraystring
CDWordArray
,CByteArray
,CUIntArray
Wxarrayint
CList
,CPtrList
,CObList
Wxlist
CStringList Wxarraystring
, Wxstringlist
CMap Wxhashmap
CString Wxstring
CPoint Wxpoint
CRect Wxrect
CSize Wxsize
CTime Wxdatetime
CTimeSpan Wxtimespan
, Wxdatespan
COleVariant Wxvariant
Internet classes
MFC version WxWidgets version
CSocket Wxsocket
CFtpConnection Wxftp
CHttpConnection Wxhttp
Document/view classes
MFC version WxWidgets version
CDocument Wxdocument
CView Wxview
CDocTemplate
,CSingleDocTemplate
,CMultiDocTemplate
Wxdoctemplate
Drag and Drop classes
MFC version WxWidgets version
COleDataSource Wxdataobject
COleDropSource Wxdropsource
COleDropTarget Wxdroptarget
File classes
MFC version WxWidgets version
CFile Wxfile
, Wxffile
, Wxtextfile
CMemFile Wxmemoryinputstream
, Wxmemoryoutputstream
CSocketFile Wxsocketinputstream
, Wxsocketoutputstream
CRecentFileList Wxfilehistory
Multithreading classes
MFC version WxWidgets version
CWinThread Wxthread
CCriticalSection Wxcriticalsection
CMutex Wxmutex
CSemaphore Wxsemaphore

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.