Click here to Skip to main content
15,396,498 members
Articles / Desktop Programming / MFC
Article
Posted 12 Jul 2002

Stats

2M views
35.7K downloads
381 bookmarked

GuiToolkit MFC Extension

Rate me:
Please Sign up or sign in to vote.
4.53/5 (166 votes)
16 Aug 20044 min read
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.

Share

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.

fcampos@beyondata.com / francisco.camposg@gmail.com

Comments and Discussions

 
GeneralRe: CGuiPanelAccess & CGuiFolder repaint problem Pin
tim63526-Apr-05 22:17
Membertim63526-Apr-05 22:17 
GeneralLinker errors Pin
sonawane ajay25-Apr-05 19:06
Membersonawane ajay25-Apr-05 19:06 
GeneralGreat job! Pin
Vinicius Pontes12-Apr-05 5:37
MemberVinicius Pontes12-Apr-05 5:37 
GeneralSDI tabbing Pin
Patrik Mueller6-Apr-05 0:21
MemberPatrik Mueller6-Apr-05 0:21 
GeneralRe: SDI tabbing Pin
Patrik Mueller13-Apr-05 20:10
MemberPatrik Mueller13-Apr-05 20:10 
Generalcreating menu with these styles without using a menu resource Pin
tim6354-Apr-05 21:59
Membertim6354-Apr-05 21:59 
GeneralRe: creating menu with these styles without using a menu resource Pin
tim6358-Apr-05 2:58
Membertim6358-Apr-05 2:58 
QuestionHow to change the menu look like Office 2003 for a dialog based application ??? Pin
Jigar Mehta27-Mar-05 20:12
MemberJigar Mehta27-Mar-05 20:12 
Hi,
Thanks for giving such a great library.. But I want to change the menu Look and feel like office 2003.. So, how to do that... which files will i have to include and which functions will have to be used... Please tell me as soon as possible...

Rose | [Rose]

Jigar Mehta
(jigarmehta@gatescorp.com)

Software Developer
Gates Information Systems
India
GeneralError information from OUTPUT windown in debug mode about demo project and mine... Pin
SAMZC7-Mar-05 16:05
MemberSAMZC7-Mar-05 16:05 
GeneralNotification problem! Pin
mattf062-Mar-05 2:05
Membermattf062-Mar-05 2:05 
GeneralRe: Solution Pin
laoyufu29-Sep-05 19:21
Memberlaoyufu29-Sep-05 19:21 
GeneralError to compile the debug version... Pin
SAMZCN27-Feb-05 14:54
MemberSAMZCN27-Feb-05 14:54 
GeneralUxTheme.h Raiders Find Treasure here :) Pin
VogelH26-Feb-05 7:03
professionalVogelH26-Feb-05 7:03 
GeneralUxTheme.h files can be got through installing Microsoft Platform SDK from Microsoft website. Pin
SAMZCN26-Feb-05 22:26
MemberSAMZCN26-Feb-05 22:26 
GeneralCGuiSplitter flicker Pin
Member 5267219-Jan-05 18:24
MemberMember 5267219-Jan-05 18:24 
GeneralThe menu and toolbar can't support 256 colors Pin
Member 5267213-Jan-05 16:27
MemberMember 5267213-Jan-05 16:27 
GeneralLink errors Pin
Roshan Patel 200412-Jan-05 9:56
MemberRoshan Patel 200412-Jan-05 9:56 
GeneralRe: Link errors Pin
Jigar Mehta27-Mar-05 23:05
MemberJigar Mehta27-Mar-05 23:05 
GeneralMissing uxtheme.h and tmschema.h Pin
Roshan Patel 200410-Jan-05 10:37
MemberRoshan Patel 200410-Jan-05 10:37 
GeneralRe: Missing uxtheme.h and tmschema.h Pin
Roshan Patel 200411-Jan-05 5:13
MemberRoshan Patel 200411-Jan-05 5:13 
GeneralRe: Missing uxtheme.h and tmschema.h Pin
Patrik Mueller11-Jan-05 19:47
MemberPatrik Mueller11-Jan-05 19:47 
Generalwhere did you get this file??reinstall VS6 components?? Pin
SAMZCN23-Feb-05 21:11
MemberSAMZCN23-Feb-05 21:11 
GeneralRe: where did you get this file??reinstall VS6 components?? Pin
Jigar Mehta23-Mar-05 7:55
MemberJigar Mehta23-Mar-05 7:55 
GeneralRe: Missing uxtheme.h and tmschema.h Pin
one_minute_man15-Apr-05 23:46
Memberone_minute_man15-Apr-05 23:46 
GeneralRe: Missing uxtheme.h and tmschema.h Pin
Anonymous18-Apr-05 18:36
MemberAnonymous18-Apr-05 18:36 

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.