Print Page | Close Window

Where are the docking pane navigation buttons?

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=23495
Printed Date: 23 December 2024 at 7:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Where are the docking pane navigation buttons?
Posted By: rdhd
Subject: Where are the docking pane navigation buttons?
Date Posted: 21 November 2017 at 2:51pm
Version 18.0.1

No navigate buttons drawn!

>    ToolkitPro1801vc140x64UD.dll!CXTPDockingPaneTabColorSet2013::FillNavigateButton Line 90    C++
     ToolkitPro1801vc140x64UD.dll!CXTPTabPaintManager::FillNavigateButton Line 390    C++
     ToolkitPro1801vc140x64UD.dll!CXTPTabPaintManager::DrawNavigateButton Line 385    C++
     ToolkitPro1801vc140x64UD.dll!CXTPTabManagerNavigateButton::Draw Line 125    C++
     ToolkitPro1801vc140x64UD.dll!CXTPTabPaintManager::DrawTabControlEx Line 530    C++
     ToolkitPro1801vc140x64UD.dll!CXTPTabPaintManagerTheme::DrawTabControl Line 380    C++
     ToolkitPro1801vc140x64UD.dll!CXTPTabPaintManager::DrawTabControl Line 395    C++
     ToolkitPro1801vc140x64UD.dll!CXTPDockingPaneOffice2013Theme::DrawPane Line 250    C++
     ToolkitPro1801vc140x64UD.dll!CXTPDockingPaneTabbedContainer::OnPaint Line 558    C++

And here is where I find a code issue. As in, there is no code!

void CXTPDockingPaneTabColorSet2013::FillNavigateButton(CDC *pDC, CXTPTabManagerNavigateButton *pButton, CRect &rc)
{
    UNREFERENCED_PARAMETER(pDC);
    UNREFERENCED_PARAMETER(pButton);
    UNREFERENCED_PARAMETER(rc);
}





Replies:
Posted By: olebed
Date Posted: 21 November 2017 at 5:21pm
Hello rdhd,

Finaly navigate buttons are drawn in CXTPTabManager::CNavigateButtonArrowRight::DrawEntry() and CXTPTabManager::CNavigateButtonArrowLeft::DrawEntry(). But they aren't used in DockingPane control.

Regards,
 Oleksandr Lebed


Posted By: rdhd
Date Posted: 21 November 2017 at 5:30pm
Hi Oleksandr,

Why are they no longer drawn (disappeared in V17 I think)? The arrows are still there. You can click in the general area they used to draw and the pane tabs scroll left/right. I set a break in the click method and verified the same buttons that don't draw are the ones reacting to the clicks.

If I squeeze a docking pane container down so all the tabs don't draw, how do we scroll the tabs that are not seen into view so you can see them? Right now, users just guess (at least some do) that clicking might work and it does if you hit the button rect.



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