Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Developer

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-12-2002, 04:48 AM
DualShock
Pupil
Join Date: Dec 2004
Posts: 46
Default help with split windows using CSplitterWnd

Since Jason mentioned in that "other" developer forum that this one is empty... ;-)

I'm trying to learn how to use split windows in MFC. I don't have all that much MFC experience in Win32, so any help would be appreciated. From what I've read in the MSDN documentation, you have to create a CSplitterWnd object in your main form, and override the form's OnCreateClient() function. OK, I got that part down, but then when it comes to actually creating things in the panes... The documentation seems to indicate that you have to create classes derived from MFC classes for each pane. For example, I want to put in a tree control in the top pane, which would mean I should create a class, say CMyTree, and derive it from CTreeView (or is it CTreeCtrl???). But when I do that, the compiler complains about CTreeView not being defined. HUH? Anyone out there know what the heck I'm talking about or how to help? Thanks.
 
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:24 AM.