Print Page | Close Window

Hosting .NET control inside docking pane?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=17631
Printed Date: 30 January 2025 at 6:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hosting .NET control inside docking pane?
Posted By: znakeeye
Subject: Hosting .NET control inside docking pane?
Date Posted: 03 December 2010 at 2:44am
What would be the best technique to host a .NET control in a CXTPDockingPane? I know you can create a COM and attach it to a CWnd, but are there other techniques?

-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: rdhd
Date Posted: 17 July 2013 at 3:41pm
znakeeye,

Our approach was to create the client window for the docking pane. Then we create a Form, which has the .net controls in it and set the parent of the form to our client window.


Posted By: dleibold
Date Posted: 01 August 2013 at 3:04pm
Note the CWinFormsControl class in MFC for embedding .NET forms.



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