简体   繁体   English

如何在MFC对话框上显示网格线? (不是在设计中,而是在运行对话框时)

[英]How to show Grid Line on MFC dialog? (not in design but while running dialog)

I am devloping custom dilaog editor in MFC. 我正在MFC中开发自定义dilaog编辑器。

I want to show grid lines on MFC dilaog when I run the dilaog(on DoModal) 我想在运行dilaog时在MFC dilaog上显示网格线(在DoModal上)

how this can be achived in MFC? 如何在MFC中实现呢? is there any property to be set? 有什么属性要设置吗?

No. The grid is only used at design time and simply doesn't exist at run time. 不。网格仅在设计时使用,而在运行时根本不存在。

You can draw some horizontal and vertical lines yourself though... 您可以自己绘制一些水平和垂直线...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM