如何突出显示我的主对话框? [英] how to hilight my main dialog rect ?

查看:63
本文介绍了如何突出显示我的主对话框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想突出显示我的主对话框rect,如何在我的主对话框窗口周围创建一个矩形?

hi , i want to highlight my main dialog rect , how to create a rectangle around my main dialog windows ?

推荐答案

不确定您是什么意思,但是您可以尝试处理 WM_NCCALCSIZE [ ^ ]和 WM_NCPAINT [
Not sure you mean this, but you could try handling WM_NCCALCSIZE[^] and WM_NCPAINT[^] and draw your own border around your dialog window.

In case you should need it, you can do
...
SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOMOVE | SWP_NOSIZE | SWP_DRAWFRAME);
...

使对话框重绘其框架.


这篇关于如何突出显示我的主对话框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆