Print Page | Close Window

CXTPStatusBarIconPane not available any more

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11508
Printed Date: 11 May 2024 at 4:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPStatusBarIconPane not available any more
Posted By: Alex H.
Subject: CXTPStatusBarIconPane not available any more
Date Posted: 21 July 2008 at 6:16am
We used Version 11.2.2 before. Now with 12.0.1 this class is not available any more. So version 12 is not compatible with version 11.2 or less.
If this class is deprecated it should have been added to

XTPDeprecated.h

like the class we used before:

#define CXTIconPane                 CXTPStatusBarIconPane

Is there a problem with the setup?



Replies:
Posted By: mgampi
Date Posted: 21 July 2008 at 7:55am
Hi;

This is no longer supported but CXTPStatusbarPane is very flexible; for example replace it by :

m_wndStatusBar.GetImageManager()->SetIcon(IDI_ICON_DBFAIL, IDI_ICON_DBFAIL);

    pPane=m_wndStatusBar.FindPane(ID_INDICATOR_DB);
    ASSERT(pPane!=0);
    pPane->SetText(_T("The text goes here"));
    pPane->SetIconIndex(IDI_ICON_DBFAIL);
    pPane->BestFit();


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: Alex H.
Date Posted: 28 July 2008 at 8:52am
Thank you!

I think then Codejock should remove this #define





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