CSplitterWnd Question
-
I have an SDI app which is split into 4 views with 2 CSplitterWnds. When I resize the internal windows I get a trace message saying 'Warning: Could not find splitter cursor - using system provided alternative.' This is ok, because it still works and resizes and stuff, but some of the windows are not being redrawn when they should be. Can anyone tell me how to intercept any messages or anything so I know when the windows are being resized and can call the redraw functions for my views? I have searched MSDN and a fair few books and found nothing useful. Thanks a lot people. : Wherever you go, there you are, and you wish you were somewhere else :
-
I have an SDI app which is split into 4 views with 2 CSplitterWnds. When I resize the internal windows I get a trace message saying 'Warning: Could not find splitter cursor - using system provided alternative.' This is ok, because it still works and resizes and stuff, but some of the windows are not being redrawn when they should be. Can anyone tell me how to intercept any messages or anything so I know when the windows are being resized and can call the redraw functions for my views? I have searched MSDN and a fair few books and found nothing useful. Thanks a lot people. : Wherever you go, there you are, and you wish you were somewhere else :
-
I have an SDI app which is split into 4 views with 2 CSplitterWnds. When I resize the internal windows I get a trace message saying 'Warning: Could not find splitter cursor - using system provided alternative.' This is ok, because it still works and resizes and stuff, but some of the windows are not being redrawn when they should be. Can anyone tell me how to intercept any messages or anything so I know when the windows are being resized and can call the redraw functions for my views? I have searched MSDN and a fair few books and found nothing useful. Thanks a lot people. : Wherever you go, there you are, and you wish you were somewhere else :
Have you tried a combination of CWnd::OnSizing() (called when user is resizing the window) and CWnd::OnSize() (called after the user has resized the window)? I don't know that this would work, but it might :-)
-
Have you tried a combination of CWnd::OnSizing() (called when user is resizing the window) and CWnd::OnSize() (called after the user has resized the window)? I don't know that this would work, but it might :-)