SAMPLE: Implementing Owner-Draw Combo BoxesLast reviewed: February 15, 1996Article ID: Q97399 |
The information in this article applies to:
SUMMARYRescue of the COMMDLG Bitmaps Kraig Brockschmidt Software Design Engineer, Microsoft Windows Developer Relations Created: January 13, 1993 This article discusses the implementation of an owner-drawn combo box and list box that use the drive and folder icons from the Microsoft Windows version 3.1 Software Development Kit (SDK). DDLIST utilizes the unused bitmaps that are included in the Microsoft Windows version 3.1 Software Development Kit (SDK) SAMPLES\COMMDLG directory for the File Open and File Save dialog boxes. DDLIST implements the drives combo box and the directory list box as an interrelated pair in a dialog box, fully utilizing the drive type and folder icons available with the Windows SDK. All the bitmaps are loaded separately and maintained in two global HBITMAP arrays. The code to draw the combo box and list box items references these arrays. Download DDLIST.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.10 softlib DDLIST.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |