CXTSplitterWnd and PaneOptions sample |
Post Reply |
Author | |
Joe Brown
Newbie Joined: 01 March 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
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 |
|
Joe Brown
Newbie Joined: 01 March 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |