是否有特定于控件的Windows消息目录 [英] Is there a directory of Control specific Windows Messages

查看:58
本文介绍了是否有特定于控件的Windows消息目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我一直在努力寻找一个目录,该目录包含.net Framework中与每个特定用户控件相关的所有Windows消息等.

Microsoft文档证明很难导航,我之前也曾见过类似的内容,但不记得在哪里.

有谁知道这是否存在以及在哪里可以找到它?

在此先感谢

George

Hi All,

I have been struggling to find a directory anywhere containing all of the Windows Messages etc related to each specific user control in the .Net Framework.

Microsoft documentation proves difficult to navigate and i have seen something like this before but can not remember where.

Does anyone know if this exists and where i can find it?

Thanks in advance

George

推荐答案

请参阅我对问题的评论.此信息随时可用.请执行以下操作:

在您的Microsoft Windows SDK副本中找到文件"WinUser.h".如果没有,请从MSDN下载并安装,例如:
http://msdn.microsoft.com/en-us/windows/aa904949 [ ^ ].

打开此文件并找到消息列表.消息中只有一小部分专用于控件.并按照控件类的要求对它们进行完全排序.

使用MSDN,Google或Bing搜索在每个页面上下载原始MSDN帮助页面的方法之一.
假设您需要使用编辑控制通知消息.您将找到编辑控件通知代码"部分.假设您然后尝试查找有关本节中找到的EN_SETFOCUS消息的信息.

您可以通过在MSDN文档的本地副本中进行搜索来找到它,也可以通过类似这样的搜索来找到它:
http://bit.ly/Hb059L [ ^ ]

让我们看看……前两个搜索结果非常相关:第一个搜索结果适用于Windows,第二个搜索结果适用于Windows Mobile.请看相信…:-)

—SA
Please see my comment to the question. This information is readily available. Do the following:

Locate the file "WinUser.h" in your copy of Microsoft Windows SDK. If you don''t have it, download and install it from MSDN, for example:
http://msdn.microsoft.com/en-us/windows/aa904949[^].

Open this file and locate the message list. Only some part of messages are dedicated to controls; and they are sorted by control classes, exactly as you want it.

One of the ways to download original MSDN help page on each one is using MSDN, Google or Bing search.
Suppose you need to work with edit control notification messages. You will find the section "Edit Control Notification Codes". Suppose you then try to find information on EN_SETFOCUS message found in this section.

You can locate it by the search in you local copy of MSDN documentation or simply by a search like this one:
http://bit.ly/Hb059L[^]

Let''s see… the first two search results are very relevant: first for Windows, second one for Windows Mobile. Please see to believe… :-)

—SA


这篇关于是否有特定于控件的Windows消息目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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