Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - Hosting .NET control inside docking pane?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hosting .NET control inside docking pane?

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
dleibold View Drop Down
Groupie
Groupie
Avatar

Joined: 08 March 2010
Location: Canada
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote dleibold Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2013 at 3:04pm
Note the CWinFormsControl class in MFC for embedding .NET forms.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.