mfc

Application crashes on trying CreateInstance

My Application is created in Vc++ and from the exe I try to load a Excel plugin which is created in C# . I communicate with Excel Plugin by using CreateInstance . But after doing 2 or 3 communications . Create Instance crashes on checking the Event Viewer I am getting these entries 1) .NET Runtime version 2.0.50727.4206 - Fatal Execut...

How can I resize the MFC CMenu scroll arrows?

Hello, is it possible to resize the scroll arrows of a MFC CMenu. I changed the menu font choosing a bigger one but the arrows did not changed. Thank you. Alessandro ...

How much stuff does .net do that isn't required?

As the title states; how much work (as a rough percentage figure, if that's possible) does the .Net BCL do for a typical Windows application that isn't strictly required as far as Windows itself is concerned? Presumably everything that Winforms does that has an analogous functionality in MFC, the latter is the ultra-efficient implementat...

MFC toolbox control

I'm totally new to MFC. In fact I haven't even written anything in it yet. I'm looking for a control similar to the one found here: http://sourceforge.net/dbimage.php?id=48455 "Toolbox", left hand side. The CMFCOutlookBar is somewhat close but the images are quite large and the text appears beneath the icon, not beside it. Looking a...

MFC - dim main window when showing modal dialog

I have a fairly standard MFC application that consists of a main window, and occasionally brings up modal dialogs. As we all know nothing can be done outside a modal dialog until it is closed. Therefore, a nice UI feature is to "dim" the rest of the main window behind the dialog, to visually indicate you can't use it until you're done ...