Print Page | Close Window

only one tab not appearing selected,why so?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11721
Printed Date: 28 February 2025 at 10:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: only one tab not appearing selected,why so?
Posted By: vijaymahajan
Subject: only one tab not appearing selected,why so?
Date Posted: 05 August 2008 at 2:23am
Hello,
I have created 3 tabs in the docking pane.
But two of them appear selected,showing orange color in the docking pane title bar.but the third one doesnt show the orange color in the docking pane.
i created them like this:-

pwndPaneForm = CreatePane(RUNTIME_CLASS(CHistogramDlg), _T("Histogram"), &m_DlgHistogram, xtpPaneDockLeft);pwndPaneRGB = CreatePane(RUNTIME_CLASS(CRGBDlg), _T("RGB"), &m_DlgRGB, xtpPaneDockLeft);pwndPaneCurve = CratePane(RUNTIME_CLASS(CCurveColorCorrection), _T("CurveCorrection"), m_DlgCurveCorrection, xtpPaneDockLeft);m_paneManager.AttachPane(pwndPaneRGB,pwndPaneForm);m_paneManager.AttachPane(pwndPaneCurve,pwndPaneForm);

But the pwndPaneCurve is not appearing selected even if i click on the tab. why this is happening? is it related to set the tab order?i have not set any tab order.

Herewith i am sending 3 bmp files of each tab's initial appearance when we click on the tab in docking pane, for your refference.
https://forum.codejock.com/uploads/20080805_022259_dockingpanetabs.zip - uploads/20080805_022259_dockingpanetabs.zip
 
please explain the problem in detail.
 
Thanks And Regards,
Vijay.



Replies:
Posted By: Oleg
Date Posted: 05 August 2008 at 7:45am
Hi,
 
Orange title indicates that Pane has focus. Somehow your pane rejects focus. Maybe you have some WM_SETFOCUS handler and don't call base method or something.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: vijaymahajan
Date Posted: 05 August 2008 at 9:19am
Hello,
i am still trying to get the event for tabs of docking pane. I have marked something like while moving from one tab two another there is some relations between the tabs. i cant explain this properly,but i have 3 tabs and i think only two are related two each other,at a time.
is it like that?
why that tab order is needed to set?
What benifits we can get from it.
i am very confused in this Docking pane samples and not at all getting anything now.
 
Please answer my questions.
 
Thanks And Regards,
Vijay


Posted By: Oleg
Date Posted: 05 August 2008 at 9:52am
Hi,
I don't really understand what you do in your code.
Minimize your application, send to mailto:support@codejock.com - support@codejock.com I will help you to resolve it.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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