Click here to Skip to main content
15,890,438 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 111.1K   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.

Comments and Discussions

 
GeneralMy vote of 1 Pin
C001 9u51-Feb-10 18:23
C001 9u51-Feb-10 18:23 
General마음의 문을 열고 이 사업을 해 보세요. Pin
부자됨21-Apr-04 20:28
suss부자됨21-Apr-04 20:28 
General시장 마케팅 제대로 배워 성공하실 분 Pin
사업21-Apr-04 18:08
suss사업21-Apr-04 18:08 
General정말 좋은 사업을 원하면 두드리세요.(다단계아닙&amp Pin
창업21-Apr-04 11:23
suss창업21-Apr-04 11:23 
General지금 기회를 잡으십시요. Pin
사업20-Apr-04 9:00
suss사업20-Apr-04 9:00 
General지금 기회를 잡으십시요. Pin
사업18-Apr-04 4:08
suss사업18-Apr-04 4:08 
General좋은 아이템과 좋은 내용으로 성공의 길을 도와 드&am Pin
17-Apr-04 14:05
suss17-Apr-04 14:05 
General이멜 체크하고 돈 버세요.>.<* Pin
16-Apr-04 7:59
suss16-Apr-04 7:59 
General가난을 싫어 하는 사람에게.. Pin
영양16-Apr-04 0:19
suss영양16-Apr-04 0:19 
GeneralExceptions Pin
Tommy2k12-Apr-04 6:21
Tommy2k12-Apr-04 6:21 
I'm getting an exception in the sourcecode of SetMsgHandled().I'm using VS7.1 with the latest SDK stuff and WTL 7.1, What am i doing wrong?
GeneralRe: Exceptions Pin
Killerluke13-Apr-04 22:23
Killerluke13-Apr-04 22:23 
General부업이나 인생 업그레이드 비즈니스를 찾으시나&# Pin
부업11-Apr-04 10:18
suss부업11-Apr-04 10:18 
GeneralRe: 부업이나 인생 업그레이드 비즈니스를 찾으시나&a Pin
Do Young KIM13-Apr-04 22:48
Do Young KIM13-Apr-04 22:48 
GeneralRe: It's a shame. Pin
madkoala18-May-06 19:59
madkoala18-May-06 19:59 
GeneralXP Style ... yeah ... but not in xp Pin
gri10-Mar-04 3:16
gri10-Mar-04 3:16 
GeneralRe: XP Style ... yeah ... but not in xp Pin
Do Young KIM14-Mar-04 14:20
Do Young KIM14-Mar-04 14:20 
GeneralRe: XP Style ... yeah ... but not in xp Pin
Do Young KIM23-Mar-04 20:50
Do Young KIM23-Mar-04 20:50 
GeneralRe: XP Style ... yeah ... but not in xp Pin
Johann Gerell6-Apr-04 3:13
Johann Gerell6-Apr-04 3:13 
GeneralRe: XP Style ... yeah ... but not in xp Pin
Do Young KIM7-Apr-04 22:10
Do Young KIM7-Apr-04 22:10 
GeneralRe: XP Style ... yeah ... but not in xp Pin
Johann Gerell7-Apr-04 22:23
Johann Gerell7-Apr-04 22:23 
GeneralRe: XP Style ... yeah ... but not in xp Pin
Do Young KIM8-Apr-04 15:39
Do Young KIM8-Apr-04 15:39 

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.