I am reading Petzold. And, of course, for the messages sent to the window procedure, there are the two data types LPARAM and WPARAM. Petzold didn't really explain them and what they are actually implemented for (in messages). Well, the problem is that I get confused in the message handling of whether or not it is LPARAM or WPARAM or HIWORD(LPARAM) or LOWORD(WPARAM).
Can anybody explain HIWORD and LOWORD, LPARAM and WPARAM? Thanks.
--Garfield the Confused