Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - CXTPFrameWnd's OnSize Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPFrameWnd's OnSize Problem

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

Joined: 18 December 2006
Location: Taiwan
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote czlai Quote  Post ReplyReply Direct Link To This Post Topic: CXTPFrameWnd's OnSize Problem
    Posted: 22 March 2007 at 4:54am
I inherit CXTPFrameWnd and use CXTPDockingPaneManager in it. When I resize those CXTPDockingPane(s), why the OnSize() of CXTPFrameWnd didn't be called ?
I need the solution becuase I need to redraw the CXTPFrameWnd after resizing of panes.
Thanks.
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: 23 March 2007 at 2:52am
Hi,
 
Override
virtual void RecalcLayout(BOOL bNotify = TRUE);
method of frame.
 
but I don't recommend you redraw frame each time user resize some splitter...
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.172 seconds.