Examples

 

Home
Overview
How it Works
Downloads
Tutorials

Examples

Links
Contact

 

 

Win32++ Examples

A number of sample programs are provided with Win32++. These samples demonstrate how Win32++ can be used in a variety of different ways. A few of the samples are illustrated below.

Browser.  This example demonstrates use the CWebBrowser class to provide a display an internet browser within a Win32++  frame. The browser doesn't require ATL or any Microsoft specific code.  
 
Dialog.  Use this as your starting point when creating your own dialog based applications.

 
DirectX.  This program shows how to override the message loop to cater for DirectX.
 
Docking Examples.  This collection of three examples demonstrate docking, container docking and TabbedMDIs.
 
Explorer.  This program demonstrates some shell programming techniques. It looks and behaves much like windows explorer and supports context menus.
 
Frame.  Use this as your starting point when creating your own frame based applications. The frame has a menu and toolbar (inside a rebar), and statusbar.

 
FormDemo.  A form is a dialog within a frame. It allows the dialog to have a menu, toolbar and statusbar. Use this as your starting point when creating your own form based applications.

 
MDIFrame.  Use this as your starting point when creating your own MDI frame based applications.

 
MDIFrameDemo.  This program demonstrates some of the features MDI (Multiple Document Interface) frames. Features include creating maximized MDI child windows, and confirming before a MDI child is closed.
 
Scribble Sample.  A basic pen drawing application. This is the program described in the tutorial section. It demonstrates fundamental message handling.
 
Simple Window.  This example demonstrates the fundamentals of creating and customizing a simple window. Use this as your starting point when creating your own simple window applications.

 
Themes Sample. A program which demonstrates the various themes supported Win32++. Themes allow you to customise the rebar with a range of styles and a gradient filled background with your choice of colors. Themes also use custom draw techniques to customise the colors of the toolbar.
 
Threads.  This program shows how to use CThread to create several windows, each in a separate thread.