Print Page | Close Window

Dialog Panel Minimized not working

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=23955
Printed Date: 04 December 2024 at 3:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dialog Panel Minimized not working
Posted By: vikascool4u
Subject: Dialog Panel Minimized not working
Date Posted: 12 February 2020 at 6:13am
Hi 

I have created a dialog box application having two panel such as follows:-
CXTPDockingPane* pwndPane1 = m_paneManager.CreatePane(IDR_PANE1, XTP_DPI(CRect(0, 0, 263, 320)), xtpPaneDockMiniWnd);

 CXTPDockingPane* pwndPane2 = m_paneManager.CreatePane(IDR_PANE2, XTP_DPI(CRect(0, 0, 200, 320)), xtpPaneDockRight, pwndPane1); 

when I click on pane1, it should be minimized and clicking the mimize tab will open it back, similar to outlook bar panel style.
But its not working for me.

I changed the  code:-
CXTPDockingPane* pwndPane1 = m_paneManager.CreatePane(IDR_PANE1, XTP_DPI(CRect(0, 0, 263, 320)), xtpPaneDockLeft);
Using the above code, I am able to achive outlook style panel,
but now both the panel won't fit in the dialog box and there is some additional space left on the right side of panel 2
I try to increase the size of panel 1 or panel 2 , but it is keeping the space on the right side always

I would like to add two panel in the dialog based and match it with the style of outlook panel, where clicking on any auto hide, make that panel minimized and appear as iamge showed below

and panel 2 occupy whole screen 

Please suggest me the right approach to do so?



Replies:
Posted By: vikascool4u
Date Posted: 13 February 2020 at 2:24am
I had resolved my problem by myself...But surprised, here no one respond to the query on time:(


Posted By: vikascool4u
Date Posted: 13 February 2020 at 3:22am
Hi Experts,

The tab bar is not visible in my application?

Any idea , how to make it visible?



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