Little bug in context-help of DockingPanes |
Post Reply |
Author | |
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Posted: 23 June 2006 at 6:01am |
Hello,
just to make XTP Docking Panes better and better : In version 10.1 of XtremeToolkitPro, there's a strange implementation of the method CXTPDockingPaneTabbedContainer::OnHelpHitTest(). LRESULT CXTPDockingPaneTabbedContainer::OnHelpHitTest(WPARAM, LPARAM lParam) { CXTPDockingPane* pPane = GetSelected(); CPoint point((DWORD)lParam); int nHit = HitTest(point); if (nHit >= 0) { pPane = GetItemPane(nHit); } if (!pPane) return 0; int nIDHelp = pPane->m_nIDHelp; if (nIDHelp == 0) { pPane->m_hwndChild ? (int)::GetDlgCtrlID(pPane->m_hwndChild): 0; } if (nIDHelp == 0) { nIDHelp = pPane->GetID(); } return HID_BASE_RESOURCE + nIDHelp; } I guess an assignment to nIDHelp is missing at the beginning of the line. Is this right, or did you mean something else with that line? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |