![]() |
Changing tab icon |
Post Reply
|
| Author | |
rconn
Groupie
Joined: 16 May 2007 Location: United States Status: Offline Points: 79 |
Post Options
Thanks(0)
Quote Reply
Topic: Changing tab iconPosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |