Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - how to get the client rect of a CXTPTabControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to get the client rect of a CXTPTabControl

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


Joined: 20 August 2009
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote rienzi Quote  Post ReplyReply Direct Link To This Post Topic: how to get the client rect of a CXTPTabControl
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 24 August 2009 at 8:39am
Hi,
 
try call it as m_wndTabControl.CXTPTabManager::GetClientRect();
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.094 seconds.