AlwaysLearningNewStuff
AlwaysLearningNewStuff

Reputation: 3031

Treeview receives unidentified notification

I was using Control Spy to check out certain characteristics of the treeview control with checkboxes.

I was observing what happens when user presses spacebar, so I watched for TVN_KEYDOWN notification. All of a sudden, just after TVN_KEYDOWN notification, I saw undefined notification 0xffffffe8.

Can someone tell me more about this notification, and what is it used for ?

Upvotes: 1

Views: 44

Answers (1)

Jonathan Potter
Jonathan Potter

Reputation: 37192

0xffffffe8 corresponds to 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.

Why Microsoft used an NM_xxx code instead of TVN_xxx I have no idea.

Upvotes: 2

Related Questions