Print Page | Close Window

Help -- CXTPTabClientWnd

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6766
Printed Date: 12 November 2025 at 11:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Help -- CXTPTabClientWnd
Posted By: fusigi
Subject: Help -- CXTPTabClientWnd
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: fusigi
Date 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~


Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net