如何更改对话框的形状? [英] How to change the shape of a dialog?

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

问题描述

我有一个新对话框.

我想在图像中制作这样的对话框,但我做不到.

请帮帮我!

非常感谢

新对话框

镜像

I have a new dialog.

I want to make like this dialog in image but I can not.

Please help me!

Thanks so much

NEW DIALOG

Mirror

推荐答案

查看GDI区域和Win API SetWindowRgn,使用此函数搜索示例.
look into GDI regions and the Win API SetWindowRgn, search examples using this function.


Chris已经为您提供了执行此操作的API.这是Joe Newcomer撰写的有关该主题的非常好的文章:

http://www.flounder.com/setwindowrgn.htm [
Chris has already given you the API to do it. Here''s a very good article on the topic by Joe Newcomer:

http://www.flounder.com/setwindowrgn.htm[^]


您好!

您的问题可以轻松解决.
您可以根据需要使用SetWindowRgn()函数自定义窗口.

请在这里查看.
基于图片的皮肤系统和MPEG解码器 [
Hello!

Your problem can be solved easily.
You can use SetWindowRgn() function to customize your window as you please.

Please see here.
A picture based skin system and MPEG decoder[^]

then you will be clear for that problem.
Regards


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

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