Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Add CXTPTabManagerNavigateButton to left
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add CXTPTabManagerNavigateButton to left

 Post Reply Post Reply
Author
Message
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: Add CXTPTabManagerNavigateButton to left
    Posted: 10 November 2005 at 4:33am

Hi,

I tried to add CXTPTabManagerNavigateButton to the left of the tab bar.

Using below code:

virtual void Reposition(CRect& rcNavigateButtons)
 {
  if (m_dwFlags == xtpTabNavigateButtonAlways || m_dwFlags == xtpTabNavigateButtonAutomatic)
  {
   if (m_pManager->IsHorizontalPosition())
   {
      m_rcButton.SetRect(rcNav igateButtons.left,0,rcNavigateButtons.left+m_szButton.cx, m_szButton.cy);
    rcNavigateButtons.left += m_szButton.cx;
}
}

It shall work as it says. But in fact, the tab item will not be drawn while the Nav button actually appears on the left.

Please advise.

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