autoit 发表于 2008-5-3 14:19:46

Autoit系统消息详解GUI通知补充

<p><strong><span style="font-size: medium">一、通用GUI通知</span></strong></p><p>使用通用GUI通知需要注册WM_NOTIFY消息,下面是全部的通用GUI通知的值及介绍:</p><p></p><div class="autoit">Global Const $WM_NOTIFY = 0x004E ; //这是使用通用GUI通知时需要用到的消息ID <p></p><p>Global Const $NM_FIRST = 0 ; //无具体含义,只是方便赋值而已<br />Global Const $NM_LAST = (-99) ; //同上<br />Global Const $NM_OUTOFMEMORY = ($NM_FIRST - 1) ; //内存不足<br />Global Const $NM_CLICK = ($NM_FIRST - 2) ; //单击<br />Global Const $NM_DBLCLK = ($NM_FIRST - 3) ; //双击<br />Global Const $NM_RETURN = ($NM_FIRST - 4) ; //用户在输入框按下了ENTER键<br />Global Const $NM_RCLICK = ($NM_FIRST - 5) ; //右键单击<br />Global Const $NM_RDBLCLK = ($NM_FIRST - 6) ; //右键双击<br />Global Const $NM_SETFOCUS = ($NM_FIRST - 7) ; //获取焦点<br />Global Const $NM_KILLFOCUS = ($NM_FIRST - 8) ; //失去焦点<br />Global Const $NM_HOVER = ($NM_FIRST - 13) ; //鼠标移动到控件上<br />Global Const $NM_KEYDOWN = ($NM_FIRST - 15) ; //用户按键<br />Global Const $NM_RELEASEDCAPTURE = ($NM_FIRST - 16) ; //子控件被鼠标按住拖动到适当位置以后鼠标释放时子控件向父控件产发送的消息<br />Global Const $NM_SETCURSOR = ($NM_FIRST - 17) ; //鼠标样式改变<br />Global Const $NM_TOOLTIPSCREATED = ($NM_FIRST - 19) ; //控件创建了一个工具栏提示<br />Global Const $NM_THEMECHANGED = ($NM_FIRST-22) ; //系统主题变化<br />Global Const $NM_RDOWN = ($NM_FIRST - 21) ; //按下右键(不要求按在控件上)<br />Global Const $NM_LDOWN = ($NM_FIRST - 20) ; //按下左键(不要求按在控件上)</p>

slzfish 发表于 2009-6-19 06:57:48

想做个LIST相关的东西,关天没找到资料 - -
页: [1]
查看完整版本: Autoit系统消息详解GUI通知补充