Click here to Skip to main content
15,887,386 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDisabling Keypress on MessageBox Pin
si_6924-Feb-11 0:45
si_6924-Feb-11 0:45 
AnswerRe: Disabling Keypress on MessageBox PinPopular
Andrew Brock24-Feb-11 1:13
Andrew Brock24-Feb-11 1:13 
AnswerRe: Disabling Keypress on MessageBox Pin
David Crow24-Feb-11 2:57
David Crow24-Feb-11 2:57 
QuestionHow to Call C# DLL in VC++ win32? Pin
mathivanaan24-Feb-11 0:35
mathivanaan24-Feb-11 0:35 
AnswerRe: How to Call C# DLL in VC++ win32? Pin
Richard MacCutchan24-Feb-11 0:52
mveRichard MacCutchan24-Feb-11 0:52 
AnswerRe: How to Call C# DLL in VC++ win32? Pin
Cool_Dev24-Feb-11 1:15
Cool_Dev24-Feb-11 1:15 
AnswerRe: How to Call C# DLL in VC++ win32? Pin
Bernhard Hiller24-Feb-11 4:07
Bernhard Hiller24-Feb-11 4:07 
AnswerRe: How to Call C# DLL in VC++ win32? [modified] Pin
Rolf Kristensen24-Feb-11 10:09
Rolf Kristensen24-Feb-11 10:09 
One simple solution is to create a CLI/Interop DLL compiled with /clr, this DLL can export standard C function, which the C++ code can call.

When implementing the standard C functions in the CLI/Interop DLL , then one is able to call standard .NET code, and it is possible for the CLI/Interop DLL to have references to other standard .NET assemblies.

This example hosts a WinForms control in a MFC application, but one could just aswell host a WPF control:

WinFormIntegration Sample: Demonstrates Hosting a WinForms User Control in an MFC Application [^]

modified on Friday, February 25, 2011 10:47 AM

Questionhow to change quick launch shortcut and start menu shortcut path? Pin
yogish29323-Feb-11 22:51
yogish29323-Feb-11 22:51 
AnswerRe: how to change quick launch shortcut and start menu shortcut path? Pin
Richard MacCutchan23-Feb-11 22:54
mveRichard MacCutchan23-Feb-11 22:54 
AnswerRe: how to change quick launch shortcut and start menu shortcut path? Pin
Hans Dietrich23-Feb-11 23:07
mentorHans Dietrich23-Feb-11 23:07 
QuestionDynamically adding Menu in Mainframe menu Pin
Anu_Bala23-Feb-11 22:35
Anu_Bala23-Feb-11 22:35 
AnswerRe: Dynamically adding Menu in Mainframe menu Pin
Richard MacCutchan23-Feb-11 22:53
mveRichard MacCutchan23-Feb-11 22:53 
GeneralRe: Dynamically adding Menu in Mainframe menu Pin
Anu_Bala23-Feb-11 23:15
Anu_Bala23-Feb-11 23:15 
QuestionRe: Dynamically adding Menu in Mainframe menu Pin
David Crow24-Feb-11 3:00
David Crow24-Feb-11 3:00 
AnswerRe: Dynamically adding Menu in Mainframe menu Pin
Anu_Bala24-Feb-11 19:58
Anu_Bala24-Feb-11 19:58 
GeneralRe: Dynamically adding Menu in Mainframe menu Pin
David Crow25-Feb-11 2:10
David Crow25-Feb-11 2:10 
AnswerRe: Dynamically adding Menu in Mainframe menu Pin
Hans Dietrich23-Feb-11 22:59
mentorHans Dietrich23-Feb-11 22:59 
QuestionRe: Dynamically adding Menu in Mainframe menu Pin
David Crow24-Feb-11 3:02
David Crow24-Feb-11 3:02 
AnswerRe: Dynamically adding Menu in Mainframe menu Pin
Roger Allen3-Mar-11 1:48
Roger Allen3-Mar-11 1:48 
Questionhow to hide the vertical scrollbar of listbox Pin
raj157623-Feb-11 21:45
raj157623-Feb-11 21:45 
Questionhow to hide the vertical scrollbar of listbox Pin
raj157623-Feb-11 20:38
raj157623-Feb-11 20:38 
AnswerRe: how to hide the vertical scrollbar of listbox Pin
Cool_Dev23-Feb-11 21:27
Cool_Dev23-Feb-11 21:27 
QuestionCPtrList AddTail problem [SOLVED] Pin
Anu_Bala23-Feb-11 17:42
Anu_Bala23-Feb-11 17:42 
AnswerRe: CPtrList AddTail problem Pin
Cool_Dev23-Feb-11 18:11
Cool_Dev23-Feb-11 18:11 

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.