Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How can I use the CExtSplitterWnd? Collapse All
Subject Author Date
wa haha Feb 28, 2005 - 12:02 AM

when I use the trial version. I can’t find the document on how to use the CSplitterWnd or CExtSplitterWnd, when I try to use it in some sample example, all kind of problems will be appear, so.. my question is ,, How can I use it??


Or, is it a easy way to put a CSplitterwnd onto the CExtControlBar?

Technical Support Mar 1, 2005 - 6:53 AM

The CSplitterWnd class is part of MFC. So, you will not find articles about how to use it here. The CExtSplitterWnd class is part of Prof-UIS, but it does not implement any extended functionality of the MFC splitter window. Our splitter window just re-paints some of its areas. If you need to use a splitter inside resizable control bars, just create it as a child of the resizable control bar and, then create pane windows inside this splitter. To use the splitter control is not difficult. It is demonstrated in the CSplitFrame::OnCreateClient() method of the DRAWCLI sample application and in the CMainFrame::OnCreateClient() method of the PageNavigator sample application.

wa haha Mar 3, 2005 - 1:38 AM

In the trial version, there isn’t the PageNavigator source code....


CFrameWnd::OnCreateClient(),   but the CExtToolBar is inherited from the CToolBar, it isn’t the CFrameWnd, How can I directly use it in the CextToolBar?


Can you give me more details?

Technical Support Mar 3, 2005 - 5:34 AM

Yes, the trial version does not come with source code for the page navigator control, but if you need its code for evaluation, we can send it to you by e-mail.
It’s not completely clear what you mean in your second question. The CExtToolControlBar class, which implements the toolbar window, is derived from CExtControlBar. The CExtControlBar class, which implements the resizable control bar is derived from the CControlBar of MFC. So, our toolbars are not based on the CToolBar class of MFC, nor on the toolbar common control of Win32. Besides, please also clarify what you need to do with regard to the CFrameWnd::OnCreateClient() virtual method. A step-by-step description would be appreciated.