1) 9/30/2004 839076839076 839076.html">You experience unexpected behavior when you use Windows Forms in COM client applications (839076) - Describes symptoms you may encounter when displaying a .NET Framework-based Windows Form from a COM client application, and how to resolve them by using a .NET Framework message loop.
2) 9/30/2004 250614250614 250614.html">How To Sort Items in a CListCtrl in Report View (250614) - Not much information has been provided for the process of sorting the items in a ListView control, especially one wrapped by the CListCtrl MFC class. The details are easy to implement and this article attempts to fill the gap in documentation for this...
3) 9/28/2004 188817188817 188817.html">How To VC++ MFC Client for the ComCallingJava Sample (188817) - Java classes created with the Visual J++ Java compiler can be accessed through COM. Visual J++ contains a sample that shows how to use COM to call a Java class from Visual Basic. It is also possible to call the Java class through Automation using any...
4) 7/17/2004 158451158451 158451.html">How To How To Call Automation Methods with Variable Argument Lists (158451) - OLE Automation allows you to create methods on your server that can take a variable-length list of arguments. This is a simple procedure in Visual Basic. However, there are special considerations when you call such a method from a client written in...
5) 7/15/2004 186212186212 186212.html">How To Unregister MFC Automation Servers (186212) - When creating MFC DLL, SDI, MDI or dialog-based automation servers, "self unregistration" code is not added by default. This article explains how to add unregistration code for these types of MFC automation servers.
6) 7/15/2004 183080183080 183080.html">How To Use ON_EVENT_RANGE Macro (183080) - The following is copied from the Visual C++ online documentation regarding the usage of the ON_EVENT_RANGE macro: PfnHandler Pointer to a member function that handles the event. This function should have a BOOL return type, a first parameter of type...
7) 7/3/2004 196832196832 196832.html">How To Provide an Alternative View to Data Using Splitter Window (196832) - This article demonstrates how to use a static splitter window in a traditional SDI document-view architecture. The article shows how to design an application that can switch between a single view and a splitter window that can embed as many panes as...
8) 7/3/2004 179907179907 179907.html">How To Display CAnimateCtrl with Transparent Background (179907) - This article shows how to display .avi files with a transparent background. The CAnimateCtrl control supports .avi files with a transparent background with a limitation of 16 colors. The first pixel in the first frame of an .avi file determines the...
9) 7/3/2004 178942178942 178942.html">How To Performance Tuning the Jet Engine Per Instance in MFC (178942) - MFC does not document or directly expose any methods to manipulate the performance parameters of the Jet Database (DB) engine. However, if you are using DAO 3.5, you can gain access to the DB engine from within an MFC application and alter the...
10) 7/3/2004 133042133042 133042.html">How To Pass IDispatch Pointer and Avoid an Application Error (133042) - In some cases, you may want an OLE Automation Local-Server to pass its IDispatch pointer to another Local-Server through an automation method. However, the pointer will become invalid after the method in the second server returns, so an Access...
11) 7/1/2004 195031195031 195031.html">How To Adding Splitter Bars Support to Active Document Server (195031) - An Active Document Server (or DocObject Server) that has a splitter window (CSplitterWnd class) as its view will have splitter bars show up fine when it is running as a stand alone application. However, the splitter bars won't show up when it is...
12) 6/24/2004 843490843490 843490.html">BUG: The gripper bar is drawn incorrectly when an MFC application uses Windows XP Visual Styles (843490) - Explains that the gripper bar does not appear correctly if you use Windows XP Visual Styles in your MFC application. You have to sub-class the CToolBar class and then override the DrawGripper method in your code to resolve this problem.
13) 6/17/2004 192570192570 192570.html">Message-Oriented TCP and Multithreaded Client/Server (192570) - MFCAsync.exe contains a Visual C++ 5.0 project sample that shows the communication techniques between a client (AsyncClient) and a server (AsyncServer) application using MFC CAsyncSocket class on each sides. Here are some highlights of this sample:...
14) 6/17/2004 177551177551 177551.html">Cannot Navigate Away from MFC Active Document in Internet Explorer 4.0 (177551) - When you load a file into Internet Explorer 4.0 that is associated with an Active Document server that is written in MFC, you cannot navigate away from the currently loaded page. Internet Explorer 4.0 will appear to start loading the next page, the...
15) 6/17/2004 223759223759 223759.html">SAMPLE: Ziprdrad.exe: Active Document MIME Reader Uses Byte Ranges (223759) - ZipReaderAD demonstrates the use of WinInet byte range requests in an Active Document registered as a "MIME viewer" for the content type of "application/zip" and .zip files. ZipReaderAD uses byte range requests to retrieve the list of file contents in...