Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - only one tab not appearing selected,why so?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

only one tab not appearing selected,why so?

 Post Reply Post Reply
Author
Message
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.125 seconds.