Am 09.06.23 um 03:02 schrieb Tom Thumb:
I have to admit that I didn't really check what kind of values
wmTaskData4 can contain. You and Stephen are correct, it should contain
the ID of a control in your dialog.
But maybe it contains other things in certain conditions. Otherwise that
check would not be needed (if you only have controls with small ID
numbers). If the event handling is done for a modeless dialog, for
example, it would be useful to ignore all unknown events.
I just tried to explain the hex form in the statement. You don't need to
play with values to find out the meaning if you write a constant that
way. It is like a mask for specific bits.
No, I don't have a sense of humor.
;)
Dirk