Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTSplitterWnd and PaneOptions sample
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTSplitterWnd and PaneOptions sample

 Post Reply Post Reply
Author
Message
Joe Brown View Drop Down
Newbie
Newbie


Joined: 01 March 2004
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joe Brown Quote  Post ReplyReply Direct Link To This Post Topic: CXTSplitterWnd and PaneOptions sample
    Posted: 10 May 2004 at 4:24pm
I have an app similar to the PaneOptions sample program. I want to know when a splitter moves so that I can do some calculations for the objects in each frame that is separated by my splitter. Is there a message that I need to override? I looked through the XTSplitterWnd source and didn't see anything that looked like a message was sent to the parent object.

It looks like I can override WM_SIZE, but is this the best way to know when a splitter moves? I don't care about the entire app resizing, just the splitter.

Also how can one get the rect inside of the frame? I'm not having any luck looking at OnCreate. I want the object I create to fill the entire frame, but need to pass it a rect.


Edited by Joe Brown
Back to Top
Joe Brown View Drop Down
Newbie
Newbie


Joined: 01 March 2004
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joe Brown Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2004 at 1:29pm
I ended up handling the WM_SIZE message in my custom control, and do a MoveWindow(0, 0, cx, cy) so that my control gets resized to the view.
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.156 seconds.