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

Changing tab icon

 Post Reply Post Reply
Author
Message
rconn View Drop Down
Groupie
Groupie


Joined: 16 May 2007
Location: United States
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote rconn Quote  Post ReplyReply Direct Link To This Post Topic: Changing tab icon
    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
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: 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
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.