Click here to Skip to main content
16,022,944 members
Articles / Desktop Programming / WTL

XP Style - MainFrame in WTL

Rate me:
Please Sign up or sign in to vote.
3.00/5 (9 votes)
5 Apr 20041 min read 112.2K   1.7K   26   21
XP Style - Owner Drawn XP Style MainFrame in WTL

Sample screenshot

Introduction

When I looked for articles about XPStyle Toolbar in WTL, I noticed that there is only version of MFC. Because I am doing my project in WTL, I needed to find some good MFC sample so that I can convert it into WTL version. Thanks to Bruno Podetti, I found out that his code sample pretty much nicely fits my needs.

Although Bruno Podetti has done several brilliant jobs, I paid attention to XPStyle Toolbar only because I did not have enough time to do it.

Implementation is so simple, that you folks can catch up easily.

  • Updated: Mar 15, 2004 Application at XP Platform :: background color modified, hot status image drawing routine modified, making subclassing simpler.
  • Updated: Mar 23, 2004 Modified for XP Platform :: ToolTip problem solved.
  • Updated: Apr 6, 2004 - Added MenuBar and StatusBar Feature, Combined with the XPStyle ToolBar.

Codes - such as menubar, status bar - are taken from other articles in CodeProject.

MenuBar was taken from the MenuXP (in WTL) source on CodeProject, and XPStyle StatusBar was taken from source in CodeProject and I modified it a bit.

Special thanks to the authors of these articles.

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
Web Developer
Korea (Republic of) Korea (Republic of)
As a window programmer, have worked for 4 years in Korea.

He thinks that sharing-ideas is the way he can build up his ability more competitive.