The Old New Thing

What's the difference between the wParam of the WM_NOTIFY message and the idFrom in the NMHDR structure?

The message takes the following parameters: Notice that the identifier of the control sending the message appears in two places, once in the and again in the . What's the difference? There is no difference. It's just a convenience. The same value is passed in both places, and you can check whichever one is easier for you. You might use ...