Documentation for Win32++

 

Home
About
How it Works
Documentation
Tutorials

Downloads

Why not MFC
Links
Contact

 

 

Classes

CCmdbar The class used to create a command bar control (Windows CE only)
CCriticalSection The class used for thread synchronisation.
CDC This class is used to simplify working with device contexts and GDI graphics.
CDialog The class responsible for creating modal and modeless dialogs. It can also be used to create dialog applications.
CFrame The class used to create a frame window. The frame window has a menu, toolbar, and a status bar. The client area of the frame window is occupied by a separate CWnd window, often called the view window.
CListView A class that used to create a List-View control
CMDIChild The class for MDI child windows. All MDI children should be inherited from this class.
CMDIFrame The class for MDI frames.
CMenubar The class used to create the menubar.  A menubar is a menu inside a rebar control.
CPoint A class that can be used in place of a POINT structure.
CPropertySheet The class used to create a property sheet.
CPropertyPage The class used to create a property page. A property sheet has one or more property pages.
CRebar The class used to create a rebar control.
CRect A class that can be used in place of a RECT structure.
CSize A class that can be used in place of a SIZE structure.
CSocket The class used for networking.
CSplitter The class which divides a CWnd window into two window panes, separated by a splitter bar.
CStatusbar The class used to create a status bar.
CToolbar The class used to create a rebar control.
CTreeView A class used to create a Tree-View control.
CWceFrame The class used to create a frame window on Pocket PCs.
CWinApp The class responsible for initializing Win32++, and also provides the message loop. You  inherit from this class to start the application.
CWinException A class which handles exceptions.
CWnd The CWnd class represents a window. CWnd handles such things as window creation and window destruction, as well as determining how the window messages are handled.

 

Global Functions

Defined in WinCore.h
CharToTString Handy for converting from char to TCHAR.
DebugErrMsg Displays an error message in a messagebox in debug mode when _DEBUG is defined.
DebugWarnMsg Displays a warning message in a messagebox in debug mode when _DEBUG is defined.
GetApp Returns a pointer to the CWinApp derived class.
GetComCtlVersion Returns the version of the ComCtl32 dll.
GetWinVersion Returns the version of Windows.
IsXPThemed Returns true if XP themes are active.
max Returns the higher of two integer values.
min Returns the lower of two integer values.
TCharToString Handy for converting from TCHAR to char
TRACE A macro which only operates in debug mode. It displays text in the Output Pane of the IDE.
Defined in GDI.h
GradientFill Fill a rectangle with a colour gradient between two specified colours.
SolidFill Fill a rectangle with a specified colour.

 

Additional Global functions for Windows CE

lstrcpyn Copies a specified number of characters from a source string into a buffer.

 

Type declarations

tString std::basic_string<TCHAR>