Click here to Skip to main content
Click here to Skip to main content

GuiToolkit MFC Extension

, 16 Aug 2004
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

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

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

  • 31 July 2002 - updated source code
  • 20 Aug 2002 - updated source code
  • 10 Jan 2003 - updated source code
  • 18 Aug 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

 
QuestionPort to vs2013, not work with x64 program. Pinmemberwuzhlg24-Aug-14 23:35 
QuestionA bug about Gui_DevStudio project PinmemberHui Jin for china5-Sep-13 17:51 
BugA tiny bug in function CGuiControlBar::InitAutoHide() PinmemberHenter Wang29-Jul-13 23:38 
QuestionHow do I get Lastest version(ver1.9)? Pinmemberkwonkiwoon11-Apr-12 0:56 
AnswerRe: How do I get Lastest version(ver1.9)? Pinmembergrtwall10-Dec-12 16:38 
General"How to change the label when there is double-click events"in MDI Pinmemberliangsong24-Aug-10 0:58 
GeneralLatest version is here [modified] PinmemberVincent_RICHOMME30-Jul-10 13:43 
GeneralRe: Latest version is here Pinmemberpophelix29-Aug-10 3:22 
GeneralRe: Latest version is here Pinmemberel goano13-Feb-12 5:57 
GeneralRe: Latest version is here [modified] Pinmemberxplong25-Mar-12 7:43 
GeneralAnyone else to know how to using GuiToolkit with vs2008.... Pinmemberfdragons6-May-10 16:52 
Generaluxtheme.h is missing from any source PinmemberVaclav_Sal4-Feb-10 15:59 
GeneralRe: uxtheme.h is missing from any source Pinmemberfdragons5-May-10 19:23 
Questionhow to add the left image for menu item? Pinmemberzigzagergg17-Nov-09 2:24 
QuestionHow to delete the main Menu?(Gui_DevStudio ) Pinmemberlostboy1231-Sep-09 0:50 
QuestionHow to control the CGuiControlBar's size? Pinmemberzhoujiamurong26-Jul-09 23:56 
QuestionHow to convert this project to VS2008? Pingroupdnybz12-Jun-09 4:12 
AnswerRe: How to convert this project to VS2008? Pinmemberreon20-Jul-09 23:49 
GeneralRe: How to convert this project to VS2008? PinmemberMember 9675817-Feb-10 19:14 
GeneralAbout Character Set Pinmembervoidr17-Jan-09 5:35 
GeneralRe: About Character Set Pinmemberzhuhuaizhong30-Jan-10 15:48 
GeneralLNK1104: cannot open file "GuiTk115d.lib" Pinmemberimacess2-Dec-08 20:47 
Questionhow to modify menu text Pinmemberduware28-Aug-08 22:12 
GeneralProblems with theme Office in Windows Vista. PinmemberPaulaPaziani26-Aug-08 11:24 
QuestionExe can't be launched in debug Pinmemberkellyg14-May-08 22:27 
AnswerRe: Exe can't be launched in debug Pinmembersliman28-May-08 21:07 
QuestionDoes anyone knows whew I can download the 1.6 which works in VS 2005? Pinmemberxinca8-Apr-08 8:23 
AnswerRe: Does anyone knows whew I can download the 1.6 which works in VS 2005? PinmemberYogesh P. Dhakad15-Apr-08 8:46 
GeneralRe: Does anyone knows whew I can download the 1.6 which works in VS 2005? Pinmembermc1321326-Apr-08 11:21 
GeneralRe: Does anyone knows whew I can download the 1.6 which works in VS 2005? Pinmemberpophelix3-Sep-09 17:30 
GeneralRe: Does anyone knows whew I can download the 1.6 which works in VS 2005? Pinmemberpophelix29-Aug-10 3:23 
GeneralRe: Does anyone knows whew I can download the 1.6 which works in VS 2005? Pinmemberczs_chen18-Feb-11 21:53 
GeneralPlease Help.. Pinmemberkunal.tawde20-Feb-08 3:29 
AnswerRe: Please Help.. PinmemberMohammed Anees24-Mar-08 19:59 
GeneralPlease help... Pinmemberkunal.tawde19-Feb-08 23:47 
Generalbug about menubar Pinmemberxb zhang10-Dec-07 5:49 
GeneralRe: bug about menubar PinmemberYogesh P. Dhakad13-Jan-08 4:17 
QuestionFlicker issue on Control Bar, any solution to fix it? Pinmemberchaochao_cz25-Sep-07 0:22 
QuestionCan not find the head file "uxtheme.h" and "tmschema.h" Pinmembersonghuibo21-Sep-07 6:20 
AnswerRe: Can not find the head file "uxtheme.h" and "tmschema.h" Pinmemberchaochao_cz23-Sep-07 18:43 
Generalbugs report Pinmemberneisoo25-Aug-07 1:39 
QuestionControl the Menu Action Pinmemberzhenggz21-Aug-07 18:59 
QuestionControl the Menu Action Pinmemberzhenggz21-Aug-07 18:57 
GeneralThere maybe have a little mistake, marked with bold. [modified] Pinmemberneisoo11-Aug-07 19:24 
GeneralDisabling GUIToolkit styles Pinmembertommorris28-Jul-07 8:13 
QuestionMenu Bar Pinmemberasi1109-Jul-07 19:45 
GeneralA View Issue Pinmemberasi1101-Jul-07 5:02 
Generalmemory leaks about the CNewMenu Pinmemberreadingme23-Jun-07 0:12 
Questionhelp me! Pinmemberwuqichun21-May-07 23:22 
AnswerRe: help me! Pinmemberasi11026-Aug-07 21:44 

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

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

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150302.1 | Last Updated 17 Aug 2004
Article Copyright 2002 by Francisco Campos Gualdron
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid