SpliterWnd functionality in CPropertyPages
Kostya Sebov -- sebov@is.kiev.ua Tuesday, February 18, 1997 Dear Simon, You wrote in mfc-l: > I need a little help / Guidance on the following scenario.. > > I have an app that consists entirely of a CPropertySheet as the main app, > that can be resized at run time to show a page to the users Size requirements.. > > On one of the pages it would be nice to embed a CTreeCtrl and CListCtrl into > a CSplitterWnd with two panes.. > > What I need is a way of doing it that works with the CPropertySheet as the > main app.. > > It appears that all the CSplitterWnd wants are Views and an OnCreateXXXXX > thing to initialise against.. As this is a CPropertySheet with CPropertyPages > ( which are based upon Dialogs that do not have OnCreateXXXXX funcionality > available { breaks points do not get called } ) I need some way of setting two > panes ( one with a TreeCtrl and the other with the ListCtrl ) in the > OnInitDialog of the CPropertySheet.A sample that illustrates how to implement splitter-like functionality within the dialo box _witout_ using the CSplitterWnd class is located at http://www2.vertexgroup.com/mfc-l/DigSplit.zip HTH --- Kostya Sebov. ---------------------------------------------------------------------------- Tel: (38 044) 266-6387 | Fax: (38 044) 266-6195 | E-mail: sebov@is.kiev.ua
Simon Coghlan -- coghlans@sharelink.com Wednesday, February 19, 1997 Thanks that looks like it should do the trick.. for reference the file name is DlgSlpit.zip.. The hyperlink did throw me a bit.. I shall attempt to implement these methods into the PropertyPage in the Near future.. Simon. -----Original Message----- From: Kostya Sebov [SMTP:sebov@is.kiev.ua] Sent: Tuesday, February 18, 1997 4:02 PM To: smurf-iv@sharelink.com Cc: mfc-l@netcom.com Subject: RE: SpliterWnd functionality in CPropertyPages Dear Simon, You wrote in mfc-l: > I need a little help / Guidance on the following scenario.. > > I have an app that consists entirely of a CPropertySheet as the main app, > that can be resized at run time to show a page to the users Size requirements.. > > On one of the pages it would be nice to embed a CTreeCtrl and CListCtrl into > a CSplitterWnd with two panes.. > > What I need is a way of doing it that works with the CPropertySheet as the > main app.. > > It appears that all the CSplitterWnd wants are Views and an OnCreateXXXXX > thing to initialise against.. As this is a CPropertySheet with CPropertyPages > ( which are based upon Dialogs that do not have OnCreateXXXXX funcionality > available { breaks points do not get called } ) I need some way of setting two > panes ( one with a TreeCtrl and the other with the ListCtrl ) in the > OnInitDialog of the CPropertySheet.A sample that illustrates how to implement splitter-like functionality within the dialo box _witout_ using the CSplitterWnd class is located at http://www2.vertexgroup.com/mfc-l/DigSplit.zip HTH --- Kostya Sebov. ---------------------------------------------------------------------------- Tel: (38 044) 266-6387 | Fax: (38 044) 266-6195 | E-mail: sebov@is.kiev.ua
Become an MFC-L member | Вернуться в корень Архива |