自定义的MessageBox [英] Custom MessageBox

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

问题描述

我要创建一个自定义消息框
,但我想使用的自定义图标,并在显示消息框
自定义的声音在我怎么创造这个消息框?
我不希望使用SHELL32.DLL和user32.dll中

I want to create a custom messagebox but i want use the custom icons and custom sound in during show messagebox how do I create this Messagebox?? I no want to use the shell32.dll and user32.dll

一个消息一样的Windows XP

a messagebox the same as windows 7 for windows xp

推荐答案

最简单的方式是从头开始创建自己的MessageBox窗口。如果您正在寻找钩子默认的Windows消息框,你需要考虑到以后你可以碰到像其他Windows操作系统的兼容性问题。

Easiest way would be to create your own MessageBox window from scratch. If you are looking for hooks to default windows MessageBox you need to consider that later you can run into problems like compatibility with other Windows operating systems.

下面是几个样本如何创建自己的MessageBox:

Here are couple of samples how to create your own MessageBox:

  • Creating A Custom Message Box
  • A Custom Message Box
  • Custom Message Box

这会给你的逻辑,以及如何开始编写自己定制的MessageBox的想法。

That will give you an idea about logic and how to start writing your own custom MessageBox.

这篇关于自定义的MessageBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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