Print Page | Close Window

Changing tab icon

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=8625
Printed Date: 14 November 2025 at 1:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Changing tab icon
Posted By: rconn
Subject: Changing tab icon
Date Posted: 31 October 2007 at 11:33am
I'm using CXTPTabClientWnd for my MDI tab windows.  Is there any way to change the icon of the current tab?  (CXTPTabClientWnd has a GetItemIcon method but I don't see a way of setting it.)
 
If that won't work, where is the icon being set when the new document is created?
 
Thanks.
 
Rex Conn
JP Software



Replies:
Posted By: Oleg
Date Posted: 31 October 2007 at 2:04pm
Hi,
as solution 1 you can catch WM_XTP_GETTABICON in CCHildFrame and retrieve icon you need. solution 2 is override GetItemIcon method.


-------------
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