Click here to Skip to main content
14,167,095 members
Click here to Skip to main content
Add your own
alternative version


379 bookmarked
Posted 12 Jul 2002

GuiToolkit MFC Extension

Rate this:
Please Sign up or sign in to vote.
A set of MFC GUI classes which allow you to build applications with the new Microsoft interface style
  • <a href="/KB/library/guitoolkit"="">Download demo project - 403 Kb
  • <a href="/KB/library/guitoolkit"="">Download full source code- 806 Kb


GuiToolkit is a complete set of classes based on MFC, that allows you to build applications with nice and sophisticated interfaces such as Visual Studio .NET, Office 2003 etc. The primary target is to have a complete free library that can be used without restrictions and suitable to user or programmers needs. This class set includes file management, connection through ADO, up to complex user's interface classes.

Guitoolkit was developed based on Paul Dilascia’s classes (Father of almost all of this kind of libraries), including features like a Menu System and a floating bar (Thanks Paul for let me “ruin” all its wonderful code, hope he understand that I did it with sincerely my best intention); about the NewMenu Class (written by Bruno Podetti) I used “Hook” system. As a principal fact, I been tried to focus in code simplicity, in the way that you could isolate a class to understand it. Don’t expect to find in this library complex classes embedded into other, or sophisticated programming techniques.

I’ve tried to respect and preserve original class names of different authors, so every class that don’t begins with “Gui”, wasn’t written by me. As you could see I’m the author of the 9x% of this classes.

GuiToolkit users guide

Code is free to use, except code that is not written by me, anyways you cannot take total or partial control of this code. This library is distributed in the hope that it will be useful, but without any warranty, without even the implied warranty of merchantability or fitness for a particular purpose.

Take your time to understand given examples, and how to use the classes. In any case, I appreciate that someone wants to document this library. This library has a few or a lot of troubles, I hope that you can understand and forgive this human failures, like: There’s no documentation available, and there’s not tech support and some bugs in windows 98.

You can use this library as you want and to demonstrate good or bad programming techniques, for your commercial application, to play, for improve it and share with us changes and to make me feel that my job gave you a plus making free code, in other words you don’t have to ask anybody for permissions this code is FREE in the way you respect author’s rights that let me use their code; and if you want to give me some credits (your welcome!), or you could show me, tell me and give the personal satisfaction of watching your own GuiToolkit built apps! “I appreciate it a lot”.

You can criticize the code being respectful, insults can freely direct to me but exclude Paul Dilascia, Bruno Podetti and other authors that I mention in credits section; they’re not guilty about my creation.

The new features are:

  • OneNote ® Style MDI tabs
  • Office ® XP/2003 look
  • Auto hide dockable bars
  • Docking tab colors
  • Visual Studio .Net look
  • And all components that you already know!

If you want the latest changes, visit the library web page <a href="http:"" "="">

Some examples:

Office menu bar XP styles provided

You can dispose of almost all controls in a dialog box using the CGuiStaticStandar class and obtain an interface such as next image.

view more

What comes next?

Many things should be improved in the close future, errors, more controls, a text editor, to improve some classes, windows docking, autohidden functions, etc...


  • Thanks to Paul Dilascia VC++ MFC Guru, to allow using his class set for the menu management, thanks a lot I learned a huge things of his code.
  • Thanks to Bruno Podetti for your splendid menu class.
  • Thanks to David Yuheng Zhao for your VisualStylesXP class
  • Thanks to Mohammad Ahmad Khaleel for your Cgradient class.


  • 31 July 2002 - updated source code
  • 20 Aug 2002 - updated source code
  • 10 Jan 2003 - updated source code
  • 18 Aug 2004 - updated source code


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

My name is Francisco Campos, A developer as you.I have the title of Engineer of Systems of the Universidad Autonoma de Colombia.My real Job Information Security officer, experience in security assessment, applications, and other related subjects.

At the moment I live in Bogotá Colombia with my wife Zoraida and my three children Carolina, Andrés and Diego. /

You may also be interested in...

Comments and Discussions

GeneralPanelAccess correction Pin
Jason Morris14-Mar-04 1:23
memberJason Morris14-Mar-04 1:23 
GeneralMemory leak Pin
Xinca12-Mar-04 8:33
memberXinca12-Mar-04 8:33 
GeneralNext release 1.5 !!!! Pin
Francisco Campos Gualdron4-Mar-04 3:02
memberFrancisco Campos Gualdron4-Mar-04 3:02 
GeneralRe: Next release 1.5 !!!! Pin
Patrik Mueller4-Mar-04 19:24
memberPatrik Mueller4-Mar-04 19:24 
GeneralRe: Next release 1.5 !!!! Pin
Anonymous22-Mar-04 18:48
memberAnonymous22-Mar-04 18:48 
GeneralRe: Next release 1.5 !!!! Pin
Anonymous23-Mar-04 5:24
memberAnonymous23-Mar-04 5:24 
GeneralRe: Next release 1.5 !!!! Pin
Member 5267229-Mar-04 2:19
memberMember 5267229-Mar-04 2:19 
GeneralRe: Next release 1.5 !!!! Pin
GlennDeBacker8-Jun-04 1:15
memberGlennDeBacker8-Jun-04 1:15 
QuestionAny documentation? Pin
j99021-Feb-04 21:23
memberj99021-Feb-04 21:23 
GeneralLatest Version Pin
Robert M Greene12-Jan-04 3:30
memberRobert M Greene12-Jan-04 3:30 
GeneralBug In Menu... Pin
mbenhad21-Nov-03 0:01
membermbenhad21-Nov-03 0:01 
GeneralRe: Bug In Menu... Pin
swandream27-Nov-03 4:28
memberswandream27-Nov-03 4:28 
Generalit works... Pin
mbenhad1-Dec-03 2:17
membermbenhad1-Dec-03 2:17 
Generalvery good job !! Pin
troga15-Nov-03 5:00
membertroga15-Nov-03 5:00 
QuestionOffice 2003? Pin
mosquitooth9-Nov-03 0:16
membermosquitooth9-Nov-03 0:16 
AnswerRe: Office 2003? Pin
Member 5267214-Nov-03 0:53
memberMember 5267214-Nov-03 0:53 
QuestionGuiVisioDemoDoc.h ? Pin
krskumar29-Oct-03 19:30
memberkrskumar29-Oct-03 19:30 
AnswerRe: GuiVisioDemoDoc.h ? Pin
nareshn225-Dec-03 19:06
membernareshn225-Dec-03 19:06 
GeneralMenu related bugs Pin
bigrice22-Sep-03 20:17
memberbigrice22-Sep-03 20:17 
GeneralRe: Menu related bugs Pin
bigrice22-Sep-03 20:18
memberbigrice22-Sep-03 20:18 
GeneralRe: Menu related bugs Pin
Bruno Podetti22-Dec-03 1:19
memberBruno Podetti22-Dec-03 1:19 
GeneralRe: Menu related bugs Pin
ana_v12322-Aug-05 10:29
memberana_v12322-Aug-05 10:29 
QuestionHow to compile the lib into a static lib? Pin
bigrice16-Sep-03 23:15
memberbigrice16-Sep-03 23:15 
GeneralYou Are Great! Pin
Atony Chen16-Sep-03 0:07
memberAtony Chen16-Sep-03 0:07 
Generalbuild on vc 6 step by step Pin
newkey9-Sep-03 23:47
membernewkey9-Sep-03 23:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web02 | 2.8.190518.1 | Last Updated 17 Aug 2004
Article Copyright 2002 by Francisco Campos Gualdron
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid