Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPStatusBarIconPane not available any more
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPStatusBarIconPane not available any more

 Post Reply Post Reply
Author
Message
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Topic: CXTPStatusBarIconPane not available any more
    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?
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2008 at 8:52am
Thank you!

I think then Codejock should remove this #define


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.172 seconds.