Click here to Skip to main content
15,881,172 members
Articles / Desktop Programming / MFC

GuiToolkit MFC Extension

Rate me:
Please Sign up or sign in to vote.
4.53/5 (167 votes)
16 Aug 20044 min read 2.1M   38.6K   384   625
A set of MFC GUI classes which allow you to build applications with the new Microsoft interface style
In this article, you will learn about GuiToolkit which is a complete set of classes based on MFC. It allows you to build applications with nice and sophisticated interfaces such as Visual Studio .NET, Office 2003, etc.

Image 1

Introduction

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 you 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 have tried to focus on 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 doesn’t begin with “Gui”, wasn’t written by me. As you could see, I’m the author of the 9x% of this classes.

GuiToolkit Users Guide

The 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 the 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 these 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.

New Features

  • 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 http://www.beyondata.com/.

Some Examples

Image 2

Office menu bar XP styles provided:

Image 3

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

Image 4

View more http://www.beyondata.com/.

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.

Credit

  • 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.

History

  • 31st July, 2002 - Updated source code
  • 20th August, 2002 - Updated source code
  • 10th January, 2003 - Updated source code
  • 18th August, 2004 - Updated source code

License

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.


Written By
Colombia Colombia
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.

Francisco.camposg@outlook.com

Comments and Discussions

 
GeneralGuiDrawLayer constructor (tracing an error) Pin
meeper3428-Jul-06 6:14
meeper3428-Jul-06 6:14 
GeneralRe: GuiDrawLayer constructor (tracing an error) Pin
Mr. S21-Oct-06 8:10
Mr. S21-Oct-06 8:10 
QuestionRe: GuiDrawLayer constructor (tracing an error) Pin
2simple12-Dec-06 6:59
2simple12-Dec-06 6:59 
QuestionWhy I don´t get to create modeless dialog in my project using GuiToolKit interface? Pin
PaulaPaziani10-Jul-06 5:22
PaulaPaziani10-Jul-06 5:22 
QuestionHow to add the opened windows list in the window menu? Pin
charonpluton27-Jun-06 0:34
charonpluton27-Jun-06 0:34 
AnswerRe: How to add the opened windows list in the window menu? Pin
rave17-Jul-07 17:20
rave17-Jul-07 17:20 
GeneralRe: How to add the opened windows list in the window menu? Pin
Yogesh Dhakad1-Oct-07 3:30
Yogesh Dhakad1-Oct-07 3:30 
QuestionRe: How to add the opened windows list in the window menu? Pin
Nicco821-Apr-08 6:08
Nicco821-Apr-08 6:08 
GeneralRe: How to add the opened windows list in the window menu? [modified] Pin
Nicco821-Apr-08 7:03
Nicco821-Apr-08 7:03 
Questionhow cool this lib! Pin
zxtweiporqwer17-Jun-06 23:24
zxtweiporqwer17-Jun-06 23:24 
GeneralA Link error when use CGuiFrameWnd Pin
vinhie475-Jun-06 19:03
vinhie475-Jun-06 19:03 
GeneralUsage with CFormView Pin
Mugambi28-Apr-06 2:47
Mugambi28-Apr-06 2:47 
GeneralProblem with menu Checkmark Pin
df49424-Apr-06 2:38
df49424-Apr-06 2:38 
GeneralRe: Problem with menu Checkmark Pin
s-w-Han5-May-06 7:30
s-w-Han5-May-06 7:30 
GeneralUsing GuiToolkit with ADO Pin
Mugambi18-Apr-06 2:43
Mugambi18-Apr-06 2:43 
GeneralRe: Using GuiToolkit with ADO Pin
Patrik Mueller18-Apr-06 20:43
Patrik Mueller18-Apr-06 20:43 
GeneralRe: Using GuiToolkit with ADO Pin
Mugambi19-Apr-06 0:08
Mugambi19-Apr-06 0:08 
GeneralGuiLib project updated Pin
Vince Ricci10-Apr-06 2:24
Vince Ricci10-Apr-06 2:24 
GeneralBuild Errors Pin
TomM27-Jun-06 12:00
TomM27-Jun-06 12:00 
GeneralRe: Build Errors Pin
meeper3427-Jul-06 10:33
meeper3427-Jul-06 10:33 
GeneralCrash on click menu item with Unicode support Pin
Ahamad Alisha14-Feb-06 21:49
Ahamad Alisha14-Feb-06 21:49 
GeneralRe: Crash on click menu item with Unicode support Pin
Smoothcactus21-Feb-06 16:03
Smoothcactus21-Feb-06 16:03 
Questionerror C2244: 'CObject::Serialize' : unable to match function definition to an existing declaration Pin
schliz30-Jan-06 22:31
schliz30-Jan-06 22:31 
QuestionFlicker Pin
vatic28-Jan-06 4:46
vatic28-Jan-06 4:46 
Generalmissing programming reference Pin
sundee18-Jan-06 21:49
sundee18-Jan-06 21:49 

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.