连接外接显示器时会发送什么消息 [英] What messages are sent when you connect an external display

查看:96
本文介绍了连接外接显示器时会发送什么消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



将外部显示器连接到系统时,有人知道发送哪种消息或事件吗?
我注意到,当连接了第二个显示器时,我的程序去调整一些对话框,而我试图弄清楚如何抑制它们或使它们为我工作.

如果您可以带我到一个解释更多这些消息的站点,那也将非常有用.

Hi,

Does anyone know what kind of messages or events are sent when you connect an external display to your system?
I noticed that my program went to adjust some of the dialogs when a second display was connected and I''m trying to figure out how to supress them or make them work for me.

If you can point me to a site which explains more of these messages, that will be great too.

推荐答案

请查看WM_DISPLAYCHANGE [驱动程序开发第6部分:显示驱动程序简介 [ ^ ]提供您会发现有用的额外信息.

最好的问候
Espen Harlinn
Have a look at WM_DISPLAYCHANGE[^]

And this Driver Development Part 6: Introduction to Display Drivers[^] provides extra information that you will find useful.

Best regards
Espen Harlinn


这篇关于连接外接显示器时会发送什么消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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