Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Where are the docking pane navigation buttons?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Where are the docking pane navigation buttons?

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 891
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Where are the docking pane navigation buttons?
    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);
}


Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 891
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post 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.
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.141 seconds.