Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Help -- CXTPTabClientWnd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Help -- CXTPTabClientWnd

 Post Reply Post Reply
Author
Message
fusigi View Drop Down
Newbie
Newbie


Joined: 08 March 2007
Location: Taiwan
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote fusigi Quote  Post ReplyReply Direct Link To This Post Topic: Help -- CXTPTabClientWnd
    Posted: 30 March 2007 at 5:43am
Hi,
I have 2 question
 
1. Might somebody know how to modify the Tab height in the CXTPTabClientWnd??
 
2. Might somebody know how to put a image in a Tab item??
 
I try the classes for CXTPTabClientWnd, CXTPTabManager, CXTPTabManagerItem, but not found method to do about modify tab height and image.
 
Might somebody help me~~~
Thx
 
 
Br
Fusigi
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2007 at 9:15am
Hi,
 
1. check TabManager sample - Margins page.
 
2. It must be icon by default - Icon of child frame class.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
fusigi View Drop Down
Newbie
Newbie


Joined: 08 March 2007
Location: Taiwan
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote fusigi Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2007 at 9:56pm

Hi,

Thanks for reply,

But I need draw a image on the tab not a icon,

dose it have any API to do draw a image?
 
Thanks again~
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2007 at 2:44am
Hi,
 
create derived class from CXTPTabClientWnd::CWorkspace and override its DrawIcon method (see sources)
then override CXTPTabClientWnd and its CreateWorkspace.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.