SAMPLE: XE How to Use MSOUTLIN.VBX in an MFC Application

ID: Q113111


The information in this article applies to:


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 file is available for download from the Microsoft Software Library:

OUTVBX.EXE
For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
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          : kb16bitonly kbMFC kbVBX kbVC 
Version           : 1.00 1.50
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: July 30, 1999