明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2841|回复: 8

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

[复制链接]
发表于 2003-2-11 16:17:00 | 显示全部楼层 |阅读模式
请教各位高手:我用C++开发ACAD,但不知在MFC对话框内如何显示幻灯片(sld档案)?请各位高用指点一二!先谢了!
发表于 2003-2-17 15:46:00 | 显示全部楼层

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

 楼主| 发表于 2003-2-17 16:51:00 | 显示全部楼层

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

发表于 2003-2-19 16:48:00 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2003-2-19 21:49:00 | 显示全部楼层

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

发表于 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.
发表于 2003-3-2 18:48:00 | 显示全部楼层
 楼主| 发表于 2003-3-2 22:15:00 | 显示全部楼层

Thank you,i have got it!

发表于 2003-4-19 21:59:00 | 显示全部楼层

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-29 05:53 , Processed in 0.181487 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表