atan003 发表于 2003-2-11 16:17:00

请教:如何在MFC对话框内显示幻灯片(sld档案)?

请教各位高手:我用C++开发ACAD,但不知在MFC对话框内如何显示幻灯片(sld档案)?请各位高用指点一二!先谢了!

空山 发表于 2003-2-17 15:46:00

读出sld文件的数据,然后用CPen直接画.不过很麻烦的。

atan003 发表于 2003-2-17 16:51:00

謝謝指教!只能這樣做嗎?有沒有方便點的方法?

dwjnet 发表于 2003-2-19 16:48:00

atan003 发表于 2003-2-19 21:49:00

我找不到,能否幫忙,給個詳細的綱址,thanks

JicketMoney 发表于 2003-2-23 13:17:00

[引用]以下来自AutoCAD Developer Knowledge Database

[引用]以下来自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.

JicketMoney 发表于 2003-3-2 18:48:00

请记录

ACAD二次开发ActiveX控件集

atan003 发表于 2003-3-2 22:15:00

Thank you,i have got it!

wwyfeng 发表于 2003-4-19 21:59:00

不知道控件怎么用呀,帮助文件好像也不全!!

页: [1]
查看完整版本: 请教:如何在MFC对话框内显示幻灯片(sld档案)?