Click here to Skip to main content
11,928,754 members (54,017 online)
Click here to Skip to main content
Add your own
alternative version


72 bookmarked

Office XP Style, a new one

, 10 May 2004
Rate this:
Please Sign up or sign in to vote.
A new Office XP style, borders, grippers, buttons, etc.


Screen Shots

Three built-in styles available: Classic, Office XP, and Office 2003

The Customize Dialog, and a balloon when is showed

Three menu animations: Fade, Slide, Unfold

The "About Library" dialog, if you see your name here, then some code of you helped to do this library Smile | :)

Very simple for now, this is the "Advanced Settings" dialog, I've removed some features and left only these two, this will change, I promise Wink | ;)

Full Windows Skin (Experimental), see the titlebars, buttons, and this little dialog, from here you can chose your skin Smile | :) , remember the old whistler? :P

Version 1.0 Alpha - Not Available for download


  • Introducing Fake Menus with Office XP Style

  • Introducing Menus Shadows

Version 1.1 Alpha - Not Available for Download


  • Converted to library
  • Introducing Windows Classic Style
  • Added Icons to menus
  • Introducing Customize Dialog, similar to Office
  • Added combo box to the toolbar


  • Fixed: When undocking toolbars it can't be docked again
  • Fixed: Shadows remaining when menu is closed
  • Fixed: Menus showing outside the desktop

Library Version

Version 1.15 Beta 1 - Preview Available


  • Introducing Office 2003 style
  • Introducing Advanced Settings dialog
  • Added "Show content while dragging" option
  • Added Menus animations: Fade, Slide, Unfold
  • Introducing Full Windows Skins (Borders, Titlebar, etc)
  • Introducing Buttons Skins (currently disabled by default)
  • Added "BallonHelp" class to emulate balloon messages


  • Fixed: When moving the toolbar remains a part of it in the old position
  • Fixed: Office XP style looks more like the original one
  • Fixed: Changing between styles was not working

Library Beta

Oh god, my school was killing me, finally I found some time to update mi article, and show the new stuff, unfortunately my demo is too big to upload it to this site, I'll make it smaller, and since this is now a library I think I'll need a name for this, I've named Advanced User Interface, but I think It could be a better name, because I'm trying to make this a skin library, so I accept suggestions.

Soon I'll upload the demo and some screenshots.


I was watching some articles here, like Office XP look & feel controls. Well I read a lot, but only this called my attention, and I decided to make a ToolBar, a StatusBar and a Menubar with the Office XP Style. I checked all the articles and then I based my toolbar on the one of Jean-Michel, it's very similar, well this is 'coz I'm a beginner and I need a base class to make my own one. There are some things that differ from the version of Jean-Michel, like the background icons, the borders, and the grippers. Really I can say that this class is an enhanced version of the Jean one, it uses the same controls (I used 'cos is based on Jean's version). I've included the CMenuXP class of Jean, just to make a full XP style, and some more options are copied from other articles. Thanks to their authors.


To use this you just have to include the required file for the class.. To use the CXPMenuBar class, you have to include the file menubar.h and specify a creation option (just like a toolbar, see the demo). To use the CXPToolBar class, you have to include the xptoolbar.h and replace the CToolBar m_wndToolBar declaration in your files by CXPToolBar m_wndToolBar. The status bar is very simple you just have to include the cxpstatusbar.h and replace the CStatusBar m_wndStatusBar declaration in your files by CCXPStatusBar m_wndStatusBar.


Thanks to Jean-Michel LE FOL for his toolbar code and the authors of the respective 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

Mexico Mexico
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralVersion 1.15 Source Vailable Pin
Douglas Fraser30-Sep-08 6:36
memberDouglas Fraser30-Sep-08 6:36 
GeneralNo another MFC MenuBar Pin
benjamin2317-May-08 1:17
memberbenjamin2317-May-08 1:17 
GeneralRe: No another MFC MenuBar Pin
aesar29-Apr-11 5:45
memberaesar29-Apr-11 5:45 
GeneralBest article! [modified] Pin
shengcheng_jin20-May-07 23:03
membershengcheng_jin20-May-07 23:03 
GeneralRe: Best article! Pin
shengcheng_jin7-Jun-07 1:30
membershengcheng_jin7-Jun-07 1:30 
GeneralThanks, what about the highlighted menu items background on Windows Vista and Office 2007 [modified] Pin
Alexandru Matei1-Apr-07 14:43
memberAlexandru Matei1-Apr-07 14:43 
QuestionResource Leak Pin
nowlex19-Feb-06 16:21
membernowlex19-Feb-06 16:21 
GeneralThat's what I'm looking for, but ... Pin
Addison18-Apr-05 9:22
memberAddison18-Apr-05 9:22 
Generalgreat project Pin
desccode2-Mar-05 21:05
memberdesccode2-Mar-05 21:05 
QuestionUpdate ? Pin
darthmaul21-Jul-04 23:15
memberdarthmaul21-Jul-04 23:15 
QuestionSource code of Version 1.15 available ? Pin
logan.dugenoux4-Jun-04 7:05
memberlogan.dugenoux4-Jun-04 7:05 
GeneralRelease available Pin
darthmaul19-May-04 0:09
memberdarthmaul19-May-04 0:09 
GeneralRe: Release available Pin
MaTrIX2k219-May-04 8:42
memberMaTrIX2k219-May-04 8:42 
GeneralRe: Release available Pin
darthmaul19-May-04 12:39
memberdarthmaul19-May-04 12:39 
GeneralRe: Release available Pin
MaTrIX2k219-May-04 16:45
memberMaTrIX2k219-May-04 16:45 
GeneralRe: Release available Pin
darthmaul21-May-04 2:54
memberdarthmaul21-May-04 2:54 
GeneralRe: Release available Pin
MaTrIX2k221-May-04 9:08
memberMaTrIX2k221-May-04 9:08 
GeneralRe: Release available Pin
darthmaul21-May-04 15:06
memberdarthmaul21-May-04 15:06 
GeneralThe More pictures in menu Pin
yujen15-May-04 4:49
memberyujen15-May-04 4:49 
GeneralRe: The More pictures in menu Pin
ETA13-Jun-04 10:01
memberETA13-Jun-04 10:01 
Generalfantastic Pin
Chen Huisheng11-May-04 1:59
memberChen Huisheng11-May-04 1:59 
GeneralRe: fantastic Pin
MaTrIX2k211-May-04 9:45
memberMaTrIX2k211-May-04 9:45 
Questionwhat 's new? Pin
xuell0031-Mar-04 2:16
memberxuell0031-Mar-04 2:16 
AnswerRe: what 's new? Pin
MaTrIX2k231-Mar-04 8:12
memberMaTrIX2k231-Mar-04 8:12 
Generalgetting server whole desktop Pin
nandini_arun31-Mar-04 2:08
sussnandini_arun31-Mar-04 2:08 
GeneralMenu Item not XP like Pin
jung-kreidler7-Oct-03 1:28
memberjung-kreidler7-Oct-03 1:28 
QuestionNew Version? Pin
jgutierrezortega18-Jul-03 3:39
memberjgutierrezortega18-Jul-03 3:39 
AnswerRe: New Version? Pin
CosmoS2k18-Jul-03 11:56
memberCosmoS2k18-Jul-03 11:56 
Generalvery good! Pin
ciaran1636-Jul-03 16:42
memberciaran1636-Jul-03 16:42 
GeneralWindows95 workaround Pin
jgutierrezortega4-Jun-03 8:07
memberjgutierrezortega4-Jun-03 8:07 
Generalread your email Pin
zero_code25-May-03 0:21
memberzero_code25-May-03 0:21 
GeneralDialog please example Pin
zero_code22-May-03 7:30
memberzero_code22-May-03 7:30 
GeneralRe: Dialog please example Pin
CosmoS2k22-May-03 9:30
memberCosmoS2k22-May-03 9:30 
GeneralDropdown Button Pin
jgutierrezortega10-Apr-03 1:35
memberjgutierrezortega10-Apr-03 1:35 
GeneralRe: Dropdown Button Pin
CosmoS2k10-Apr-03 8:42
memberCosmoS2k10-Apr-03 8:42 
GeneralOffice 2003 style toolbar Pin
schaereran@gmx.net6-Apr-03 22:22
memberschaereran@gmx.net6-Apr-03 22:22 
GeneralRe: Office 2003 style toolbar Pin
CosmoS2k7-Apr-03 16:37
memberCosmoS2k7-Apr-03 16:37 
GeneralRe: Office 2003 style toolbar Pin
schaereran@gmx.net7-Apr-03 23:57
memberschaereran@gmx.net7-Apr-03 23:57 
GeneralMenu not fully XP style ? - read Pin
darthmaul17-Feb-03 4:18
memberdarthmaul17-Feb-03 4:18 
GeneralRe: Menu not fully XP style ? - read Pin
CosmoS2k17-Feb-03 16:10
memberCosmoS2k17-Feb-03 16:10 
GeneralRe: Menu not fully XP style ? - read Pin
darthmaul17-Feb-03 23:59
memberdarthmaul17-Feb-03 23:59 
GeneralRe: Menu not fully XP style ? - read Pin
CosmoS2k18-Feb-03 16:22
memberCosmoS2k18-Feb-03 16:22 
GeneralRe: Menu not fully XP style ? - read Pin
benben17-Mar-03 20:20
memberbenben17-Mar-03 20:20 
GeneralRe: Menu not fully XP style ? - read Pin
CosmoS2k17-Mar-03 20:23
memberCosmoS2k17-Mar-03 20:23 
GeneralRe: Menu not fully XP style ? - read Pin
benben19-Mar-03 2:02
memberbenben19-Mar-03 2:02 
GeneralRe: Menu not fully XP style ? - read Pin
CosmoS2k19-Mar-03 16:15
memberCosmoS2k19-Mar-03 16:15 
GeneralRe: Adding a drop arrow to a toolbar button - 256 color screen mode Pin
CosmoS2k27-Dec-02 10:49
memberCosmoS2k27-Dec-02 10:49 
Generaltoolbar frame color Pin
xuell0025-Dec-02 19:41
memberxuell0025-Dec-02 19:41 
GeneralRe: toolbar frame color Pin
CosmoS2k26-Dec-02 8:29
memberCosmoS2k26-Dec-02 8:29 
Generalwell done Pin
xuell009-Dec-02 4:57
memberxuell009-Dec-02 4:57 

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.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.151126.1 | Last Updated 11 May 2004
Article Copyright 2002 by MaTrIX2k2
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid