Print Page | Close Window

Add CXTPTabManagerNavigateButton to left

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3196
Printed Date: 09 November 2025 at 7:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add CXTPTabManagerNavigateButton to left
Posted By: jeffcmj
Subject: Add CXTPTabManagerNavigateButton to left
Date 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.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net