|  | 
| Hosting .NET control inside docking pane? | 
| Post Reply   | 
| Author | |
| znakeeye   Senior Member     Joined: 26 July 2006 Status: Offline Points: 1672 |  Post Options  Thanks(0)  Quote  Reply  Topic: Hosting .NET control inside docking pane? 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/
     | |
|  | |
| rdhd   Senior Member     Joined: 13 August 2007 Location: United States Status: Offline Points: 951 |  Post Options  Thanks(0)  Quote  Reply  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. | |
|  | |
| dleibold   Groupie     Joined: 08 March 2010 Location: Canada Status: Offline Points: 13 |  Post Options  Thanks(0)  Quote  Reply  Posted: 01 August 2013 at 3:04pm | 
| 
   Note the CWinFormsControl class in MFC for embedding .NET forms.
    | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |