讨厌的静态文本 [英] pesky static text

查看:76
本文介绍了讨厌的静态文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我设法更改了对话框的外观.

但是,对话框上以前存在的静态文本是
出现在默认对话框的灰色框中.如何使文本与位图合并,还是应该丢弃文本并仅在图像上绘制这些文本?

谢谢,
Garyc

Hello,

I managed to change the look and feel of my dialog box.

However the static text that was there before on the dialog box is
appearing within the default dialog grey box. How do I make the text merge with the bitmap or should I discard the text and simply paint these in over the image?

Thanks,
Garyc

推荐答案

您可以将其保存在资源中
请求其位置和文本(通过ID!= IDC_STATIC),
将其隐藏在OnInitDialog()中,但绘制在OnPaint():)
You could hold it in the resources
to request its position and text (by ID !=IDC_STATIC),
hide it in OnInitDialog() but draw in OnPaint():)


这篇关于讨厌的静态文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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