Print Page | Close Window

SDI document-view linking

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=4951
Printed Date: 20 July 2025 at 12:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SDI document-view linking
Posted By: Rhayader
Subject: SDI document-view linking
Date Posted: 01 September 2006 at 11:30am
Hi all,
I've noticed a problem working on a SDI application with docking views; i tried to set a dockable view, using the CMainFrame::OnDockingPaneNotify() method, something like in the "Active Pane View" sample, but I can't manage to connect the views with the document, all the views have the m_pDocument member always set to NULL. I would like to get the same behavior I have when using the 'traditional' views with the splitter windows, but I couldn't.
 
Maybe it's a silly question, but I'm not very experienced in mfc doc/view system :-), so could anyone help me?
 
 
Thanks in advance
 
 
Nicola Tramarin



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net