Home Search Contact us About us
 
MFC Ideas
Notes on MFC based solutions to simple and more complex problems.
CTime constructor 27-Jan-2003
Method to call the CTime constructor that will always succeed event with invalid time values

A Progress bar with bitmap fill 28-Aug-2002
With this class your applications can have progress bars using bitmaps as seen in many modern installation programs and games

A Simple Clock and Date display. 1-Jul-2002
CClockST is a class derived from MFC CStatic class. CClockST just subclasses the supplied CStatic control in your dialog and implements a simple clock and date!

Advanced Directory and network browsing using a tree control 28-Jun-2002
This is an extension of the article on Browsing my computer and the network using a TreeCtrl. This is also a good example of information on network enumeration.

CButtonST is an advanced button class derived from MFC CButton class 27-Jun-2002
With this class your applications can have standard buttons or new and modern buttons with "flat" style!

Simple Menu Bitmaps / Icons 20-May-2001
Many modern applications show bitmaps / icons next to items in the drop down menu such File->Open folders. This article shows how to perform the simplist form of this.

Using CHtmlView as a control. 11-Mar-2001
How to add web browsing and html editing capability to an application. Also includes tips on communicating with the browser control and embedding HTML and images in your application.

Catching and Preventing the Close event. 5-Mar-2001
An article about how to catch and or prevent an operator from closing a dialog, SDI or MDI application.

Using MFC Collections 30-Jan-2001
A simple intorduction to using the MFC collections CArray, CList and CMap.

Building a UNICODE application. 30-Jan-2001
Working with languages other than English can present some problem challenges when the character size is 16 bits rather than 8 bits. This is the case with some Asian languages such as Chinese. Using wide charactors resolves this problem.

Using threads 1-Nov-2000
This note shows how to create and use threads for simple processing. It also touches on synchronisation.

Using CFileDialog 13-Oct-2000
Common file dialog boxes provide an easy way to implement File Open and File Save As dialog boxes (as well as other file-selection dialog boxes) in a manner consistent with Windows standards.

Reading and writing to the Registery 10-Oct-2000
Notes on reading and writing to the Registery using the simple "HKEY_CURRENT_USER\Software" key and also working with any key using a more difficult method.

Colouring Edit box backgrounds. 4-Oct-2000
Colouring the background of an edit box makes it easier for the user to determine which edit is currently being edited.

Posting Messages 23-Sep-2000
Posting Messages within an application is a simple method of communicating within various windows using message queues that don't tie up the system.

Simple File I/O routines. 9-Sep-2000
File I/O is quite easy. Here are a few examples to ensure nothing is overlooked.

Building an AVI file into the Executable 8-Sep-2000
How to make a AVI file available at run time and compiled directly into the executable. This is useful for such things as logos.

Building a text file into the Executable 8-Sep-2000
How to make a text file available at run time and compiled directly into the executable. This is useful for such things as copyright notices.

Directory and network browsing using a tree control 7-Sep-2000
An article on Browsing my computer and the network using a TreeCtrl. This is also a good example of information on network enumeration.

How to Load Small Icons 5-Sep-2000
When creating a Dialog based application the default implementation loads a 32x32 icon and compresses it to 16x16 for display in the title bar.

Home Search Contact us About us