![]() |
only one tab not appearing selected,why so? |
Post Reply
|
| Author | |
vijaymahajan
Groupie
Joined: 16 June 2008 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Topic: only one tab not appearing selected,why so?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.
please explain the problem in detail.
Thanks And Regards,
Vijay.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
vijaymahajan
Groupie
Joined: 16 June 2008 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 August 2008 at 9:52am |
|
Hi,
I don't really understand what you do in your code.
Minimize your application, send to support@codejock.com I will help you to resolve it.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |