Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - one more question abt Sample vs7
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

one more question abt Sample vs7

 Post Reply Post Reply
Author
Message
lw0110 View Drop Down
Newbie
Newbie


Joined: 24 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote lw0110 Quote  Post ReplyReply Direct Link To This Post Topic: one more question abt Sample vs7
    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...

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: 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
Back to Top
lw0110 View Drop Down
Newbie
Newbie


Joined: 24 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote lw0110 Quote  Post ReplyReply Direct Link To This Post Posted: 25 January 2006 at 10:48pm
the original code already have leh
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: 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
Back to Top
lw0110 View Drop Down
Newbie
Newbie


Joined: 24 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote lw0110 Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2006 at 7:15pm
Back to Top
lw0110 View Drop Down
Newbie
Newbie


Joined: 24 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote lw0110 Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2006 at 7:15pm

 sorry, not very clear~~

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: 27 January 2006 at 12:49am

Hi,

guess you need

m_paneManager.HideClient(TRUE);

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
lw0110 View Drop Down
Newbie
Newbie


Joined: 24 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote lw0110 Quote  Post ReplyReply Direct Link To This Post 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???

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: 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
Back to Top
lw0110 View Drop Down
Newbie
Newbie


Joined: 24 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote lw0110 Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2006 at 6:59pm

emm...thx very much

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.234 seconds.