Microsoft KB Archive/113111

{|
 * width="100%"|

XE How to Use MSOUTLIN.VBX in an MFC Application

 * }

Q113111

-

The information in this article applies to:


 * The Microsoft Foundation Classes (MFC), used with:
 * Microsoft Visual C++, versions 1.0, 1.5

-

SUMMARY
OUTVBX is a sample program that demonstrates how to use the Outline VBX control (MSOUTLIN.VBX) from Microsoft Visual Basic 3.0 within a Microsoft Foundation Class (MFC) application. The Outline control allows you to display data in a hierarchical list box that supports five different styles.

MORE INFORMATION
The following files are available for download from the Microsoft Download Center:

Outvbx.exe

For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

Microsoft Visual Basic 3.0 introduced a hierarchical list box VBX control, which can be very useful to display data. The Outline control supports the use of bitmaps and lines to expand and collapse the visual display (similar to the File Manager in Windows 3.1).

This sample program also shows how to dynamically modify a picture property for a typical VBX control. The default picture values in MSOUTLIN.VBX are not functional in an MFC application, and therefore the properties must be reinitialized during run time. The pictures used are included as resources by App Studio in the .RC file.

Additional query words: kbinf kbfile VBX outline

Keywords : kbfile kb16bitonly kbMFC kbVBX kbVC

Issue type :

Technology : kbAudDeveloper kbMFC