I've seen several code examples that test the value of a message to determine that it's between WM_KEYFIRST
and WM_KEYLAST
before calling IsDialogMessage
.
I was wondering if that's technically necessary. Wouldn't IsDialogMessage
inherently do that? Or is it more efficient perhaps to test the value before calling the function?