明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2217|回复: 1

如何在点击用mfc生成的对知框上的某一按钮(不关闭对话框)而刷新当前视图

[复制链接]
发表于 2003-4-18 10:09 | 显示全部楼层 |阅读模式
本人有一基于对话框的应用程序
上有很多步,在没实现一功能后,就希望刷新当前视图,请教如何处理
发表于 2003-4-18 12:55 | 显示全部楼层

以下内容引用帮助

int acedRedraw(const ads_name ent,int mode);

ent The name of the entity to redraw or NULL to specify the graphics viewport
mode The mode in which to redraw

Redraws either the graphics viewport or a single entity, according to the arguments.

The following table shows the acceptable values for mode and the effect that each has. (If ent is not NULL but mode is 0, the call has no effect.)

Modes for acedRedraw:

Redraw mode Action
1 Redraw entity
2 Undraw entity (blank it out)
3 Highlight entity
4 Unhighlight entity
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-2 22:31 , Processed in 0.361485 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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