Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTabPaintManager->GetPosition wrong
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTabPaintManager->GetPosition wrong

 Post Reply Post Reply
Author
Message Reverse Sort Order
jeffcmj View Drop Down
Groupie
Groupie


Joined: 28 October 2004
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffcmj Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTabPaintManager->GetPosition wrong
    Posted: 03 October 2005 at 5:55am
Then how do I find out if the tab is drawn on the left within my tabpaintmanager? I want to give different settings for different position.
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: 03 October 2005 at 3:27am
CXTPTabPaintManager::GetPosition returns position of _tabs_, not position of DockingPane.

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jeffcmj View Drop Down
Groupie
Groupie


Joined: 28 October 2004
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffcmj Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2005 at 2:01am

It always return xtpTabPositionTop even I dock the panel to the left or right.

CXTPTabManager's GetPosition will return the correct value, but I can not always get its pointer in my CAppearanceSet derived class.



Edited by jeffcmj
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.188 seconds.