how to get the client rect of a CXTPTabControl |
Post Reply |
Author | |
rienzi
Groupie Joined: 20 August 2009 Status: Offline Points: 38 |
Post Options
Thanks(0)
Posted: 24 August 2009 at 5:10am |
I can not obtain a CRect object from a CXTPTabControl object with the following codes
CRect rect; rect=m_wndTabControl.GetClientRect(); //m_wndTabControl is a CXTPTabControl object because the function GetClientRect() is a member function of CWnd and a member function of CXTPTabManager, and CXTPTabControl inherits both of the two classes. The compiler does not know which member function to use when I call GetClientRect(); function from m_wndTabControl I want to know how can I get the client rect of a object of CXTPTabControl class |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
try call it as m_wndTabControl.CXTPTabManager::GetClientRect();
|
|
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 |