Click here to Skip to main content
15,911,531 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionHow to get HBITMAP from BitMap Pin
vibindia15-Nov-09 17:44
vibindia15-Nov-09 17:44 
AnswerRe: How to get HBITMAP from BitMap Pin
Mark Salsbery16-Nov-09 7:53
Mark Salsbery16-Nov-09 7:53 
QuestionCLR,How to set RootFolder of FodlerBrowserDialog to be Current Working Directory Pin
akira3212-Nov-09 19:10
akira3212-Nov-09 19:10 
AnswerRe: CLR,How to set RootFolder of FodlerBrowserDialog to be Current Working Directory Pin
N a v a n e e t h12-Nov-09 19:53
N a v a n e e t h12-Nov-09 19:53 
AnswerRe: CLR,How to set RootFolder of FodlerBrowserDialog to be Current Working Directory Pin
Mark Salsbery15-Nov-09 5:52
Mark Salsbery15-Nov-09 5:52 
GeneralRe: CLR,How to set RootFolder of FodlerBrowserDialog to be Current Working Directory Pin
akira3216-Nov-09 20:07
akira3216-Nov-09 20:07 
QuestionHow to render DirectX9 on my CLR customed control? Pin
akira3211-Nov-09 4:58
akira3211-Nov-09 4:58 
AnswerRe: How to render DirectX9 on my CLR customed control? Pin
akira3212-Nov-09 7:02
akira3212-Nov-09 7:02 
reference: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/71bfe0b7-7609-4c8b-b106-f901e8f379b1[^]

It depends on how your "customized user control" is implemented. However, it comes down to using the windows handle (HWND) and passing that to your DirectX device.

If you're using MFC, everything derives from CWnd. You'll want to use CWnd::m_hWnd.

If you're using Windows Forms with C++/CLI, everything will derive from Control, and you can use Control.Handle.


--------------------------------------------------------------------------------
Reed Copsey, Jr. - http://reedcopsey.com
GeneralRe: How to render DirectX9 on my CLR customed control? Pin
akira3212-Nov-09 7:03
akira3212-Nov-09 7:03 
GeneralRe: How to render DirectX9 on my CLR customed control? Pin
Lutosław13-Nov-09 7:11
Lutosław13-Nov-09 7:11 
GeneralRe: How to render DirectX9 on my CLR customed control? Pin
akira3216-Nov-09 20:07
akira3216-Nov-09 20:07 
QuestionHow to redirect and log the output of the VC++ console to a file? Pin
santoshkaif5-Nov-09 2:47
santoshkaif5-Nov-09 2:47 
AnswerRe: How to redirect and log the output of the VC++ console to a file? Pin
Richard MacCutchan6-Nov-09 3:44
mveRichard MacCutchan6-Nov-09 3:44 
GeneralRe: How to redirect and log the output of the VC++ console to a file? Pin
santoshkaif7-Nov-09 19:31
santoshkaif7-Nov-09 19:31 
GeneralRe: How to redirect and log the output of the VC++ console to a file? Pin
Richard MacCutchan7-Nov-09 21:17
mveRichard MacCutchan7-Nov-09 21:17 
QuestionHow to test on a pushed button in the leave event of a textfield Pin
cad-JC5-Nov-09 0:03
cad-JC5-Nov-09 0:03 
AnswerRe: How to test on a pushed button in the leave event of a textfield Pin
Luc Pattyn5-Nov-09 0:44
sitebuilderLuc Pattyn5-Nov-09 0:44 
QuestionRe: How to test on a pushed button in the leave event of a textfield [modified] Pin
cad-JC5-Nov-09 1:06
cad-JC5-Nov-09 1:06 
GeneralRe: How to test on a pushed button in the leave event of a textfield Pin
Luc Pattyn5-Nov-09 1:20
sitebuilderLuc Pattyn5-Nov-09 1:20 
QuestionRe: How to test on a pushed button in the leave event of a textfield [modified] Pin
cad-JC5-Nov-09 1:57
cad-JC5-Nov-09 1:57 
AnswerRe: How to test on a pushed button in the leave event of a textfield Pin
Luc Pattyn5-Nov-09 2:20
sitebuilderLuc Pattyn5-Nov-09 2:20 
GeneralRe: How to test on a pushed button in the leave event of a textfield Pin
cad-JC5-Nov-09 2:38
cad-JC5-Nov-09 2:38 
QuestionRe: How to test on a pushed button in the leave event of a textfield Pin
cad-JC8-Nov-09 22:29
cad-JC8-Nov-09 22:29 
QuestionDelegate with a cli::array as a parameter (Error Reentrancy was Detected) [modified] Pin
Greggor014-Nov-09 10:31
Greggor014-Nov-09 10:31 
AnswerRe: Delegate with a cli::array as a parameter (Error Reentrancy was Detected) Pin
Dave Doknjas4-Nov-09 10:58
Dave Doknjas4-Nov-09 10:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.