Win32 API programming with C - Managing Application State
A window procedure is essentially a function called for every message, lacking inherent state. To manage your application's state across calls, one basic method is using global variables.
However, for larger applications, this can lead to too many gl...
ciprianf.hashnode.dev2 min read