|
发表于 2003-2-19 21:49:00
|
显示全部楼层
[引用]以下来自AutoCAD Developer Knowledge Database
Displaying AutoCAD slide in a MFC or VB dialog box
ID 1670 Applies to: AutoCAD R14 Date 05/06/00
Question
How can I display an AutoCAD slide in a MFC or VB dialog box ?
Answer
In the release versions of AutoCAD prior to R14, AutoCAD slides files (*.sld)
are in an internal AutoCAD format that can be displayed in DCL dialog boxes
(image_tile) only. DCL dialogs are available in AutoCAD only, They are not
compatible with Win API interfaces, so they can not be used in MFC dialogs
directly.
There is an ActiveX control (OCX control) created just to solve the problem. It
makes possible to display AutoCAD slides (any type/revision/platform origin) in
a MFC/VB dialog. The slides can be single slide files (*.sld) or embedded into
an AutoCAD slide library (*.slb). There is also a 'Slm.hlp' file which provides
more information on how to install and how to use the ActiveX control in your
MFC/ARX application.
You can download the Slm application and the Slide OCX control from the ADN web
site. |
|