Print Page | Close Window

one more question abt Sample vs7

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3555
Printed Date: 27 September 2024 at 6:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: one more question abt Sample vs7
Posted By: lw0110
Subject: one more question abt Sample vs7
Date Posted: 24 January 2006 at 10:12pm

for the sample "visual studio 7", it has a document window to allow multiple document open. If I close it, there is a gap among those docking panels if i do not drag them.

Is there any way to fix that gap? If i close the document view window, other panels can full fill the window automatically?

thanks very much..

 i do not know how to change the document explorer area to other type, such as a panel with full of icons...




Replies:
Posted By: Oleg
Date Posted: 25 January 2006 at 9:09am

looks like a bug :(

Please patch sources in void CXTPTabClientWnd::CalcWindowRect()

add

Invalidate(FALSE);

in first block:

 

 if (GetWorkspaceCount() == 0 || !m_bShowWorkspace)
 {
  Invalidate(FALSE);
  CWnd::CalcWindowRect(lpClientRect, nAdjustType);
  return;
 }

Thanks.



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


Posted By: lw0110
Date Posted: 25 January 2006 at 10:48pm
the original code already have leh


Posted By: Oleg
Date Posted: 26 January 2006 at 12:30am
Hmm.. may be I don't understand what gap you mean.... Can you show screenshot?

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


Posted By: lw0110
Date Posted: 26 January 2006 at 7:15pm


Posted By: lw0110
Date Posted: 26 January 2006 at 7:15pm

 sorry, not very clear~~



Posted By: Oleg
Date Posted: 27 January 2006 at 12:49am

Hi,

guess you need

m_paneManager.HideClient(TRUE);



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


Posted By: lw0110
Date Posted: 27 January 2006 at 3:57am

that function is terrific =).. but docking panes cover the mainframe window full...is it mean that i need a logic to add that function in order to see pane and main window at the same time???



Posted By: Oleg
Date Posted: 27 January 2006 at 11:09am
It depens what you want to get. You can call this method when all child frames closed and call

m_paneManager.HideClient(FALSE);

if some frame was opened.



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


Posted By: lw0110
Date Posted: 31 January 2006 at 6:59pm

emm...thx very much




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