Treeview 收到不明通知
Treeview receives unidentified notification
我正在使用 Control Spy 检查带有复选框的树视图控件的某些特征。
我正在观察当用户按下 空格键 时会发生什么,所以我观察了 TVN_KEYDOWN
通知。突然,就在 TVN_KEYDOWN
通知之后,我看到了未定义的通知 0xffffffe8
。
谁能告诉我更多关于这个通知的信息,它有什么用?
0xffffffe8
对应NM_TVSTATEIMAGECHANGING
:
Sent by a tree-view control to its parent window that the state image
is changing. This notification code is sent in the form of a WM_NOTIFY
message.
为什么 Microsoft 使用 NM_xxx
代码而不是 TVN_xxx
我不知道。
我正在使用 Control Spy 检查带有复选框的树视图控件的某些特征。
我正在观察当用户按下 空格键 时会发生什么,所以我观察了 TVN_KEYDOWN
通知。突然,就在 TVN_KEYDOWN
通知之后,我看到了未定义的通知 0xffffffe8
。
谁能告诉我更多关于这个通知的信息,它有什么用?
0xffffffe8
对应NM_TVSTATEIMAGECHANGING
:
Sent by a tree-view control to its parent window that the state image is changing. This notification code is sent in the form of a WM_NOTIFY message.
为什么 Microsoft 使用 NM_xxx
代码而不是 TVN_xxx
我不知道。