How to Use OLE2UI Functionality in 32-bit ApplicationsLast reviewed: October 10, 1997Article ID: Q135862 |
2.00 2.10 2.20
WINDOWS NT
kbole
The information in this article applies to:
SUMMARYThe OLE2UI library is a 16-bit DLL provided with the 16-bit OLE SDK. It contains a number of APIs that are useful for user interface (UI) related functionality. However, beginning with Windows NT version 3.51, this DLL is no longer provided. OLEDLG.DLL provides the dialog boxes that were included in OLE2UI. Two DLLs (MFCUIW32 and MFCUIA32) essentially wrap the APIs from OLEDLG.DLL, providing the ANSI and Unicode versions of the dialog boxes. If your application uses one of the approximately 122 other APIs that are no longer provided, copy the source code from the 32-bit version provided as a sample in the Visual C++ version 2.x directory ...\SAMPLES\MFC\MFCUIX32.
MORE INFORMATIONThe two DLLs (MFCUIW32 and MFCUIA32) support the following APIs: OleUIAddVerbMenu OleUIBusy OleUICanConvertOrActivateAs OleUIChangeIcon OleUIChangeSource OleUIConvert OleUIEditLinks OleUIInsertObject OleUIObjectProperties OleUIPasteSpecial OleUIPromptUser OleUIUpdateLinks OLEDLG.DLL provides the A and W versions of these functions. To use one of the other functions, you have two options:
REFERENCESFor a list of the API entry points that have been removed, please see the project definition file (OLE2UI.DEF) in the \MSVC20\SAMPLES\MFC\MFCUIX32 directory.
|
Additional reference words: kbinf 2.00 2.10 2.20
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |