Creating another view for SDI project
-
Hello, SDI(Single document interface) comes with a single view as default (AFAIK), but i want to create more than one view of a single document. How can i do this in SDI? Thanks, Bekir
Look in the Doc/View articles section. There's a couple of articles written that describe exactly how to do that. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
-
Look in the Doc/View articles section. There's a couple of articles written that describe exactly how to do that. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
-
John Simmons / outlaw programmer wrote:
There's a couple of articles written that describe exactly how to do that
Really, John ? I did not find anything that comes down to the basic level, only advanced stuff out there. ~RaGE();
I used a technique from one of them last week. It took all of 15 minutes to implement, and was mostly cut/paste. Here's one: http://www.codeproject.com/docview/replacingview.asp[^] Here's another (same author no less): http://www.codeproject.com/docview/switchingviews.asp[^] The second one is the one I used because I need to keep both views around until the app is terminated. The article provides a way to switch views for SDI, MDI, and SplitterWnd apps. The actual point of my original response was to show the person that if he just took the time to search instead of being lazy, he'd find the answer and be on his way a lot faster. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -- modified at 13:57 Thursday 9th February, 2006
-
I used a technique from one of them last week. It took all of 15 minutes to implement, and was mostly cut/paste. Here's one: http://www.codeproject.com/docview/replacingview.asp[^] Here's another (same author no less): http://www.codeproject.com/docview/switchingviews.asp[^] The second one is the one I used because I need to keep both views around until the app is terminated. The article provides a way to switch views for SDI, MDI, and SplitterWnd apps. The actual point of my original response was to show the person that if he just took the time to search instead of being lazy, he'd find the answer and be on his way a lot faster. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -- modified at 13:57 Thursday 9th February, 2006
Thank you for the links and for your time John. I went to the Doc/View after reading your first post (out of mere curiosity) but obviously missed these two articles. I got stuck on such articles:http://www.codeproject.com/docview/nodoc_views.asp[^] which are a bit more elaborated.
John Simmons / outlaw programmer wrote:
The actual point of my original response was to show the person that if he just took the time to search instead of being lazy, he'd find the answer and be on his way a lot faster.
I was perfectly aware of that and I totally agree with you. No offense meant in my post, it is only that I have been looking for a really simple tutorial and did not expect to have to look that closer to the article list to find that. ~RaGE();