Original Post
I just starting to get the hand of win32 coding. But, one small problem I am having is keeping track a variables within my main windows procedure. The problem is that some static variables need to be initialized, so I have to do it in WM_CREATE or else it will reintialize. I end up having some variables that only pertain to a certain message declared up at the begining, and once my program grows I have variabled declared all over the place. Should I just declare every variable at the begining, or is there a trick (eg. naming convention) for keeping track or them, or do I just deal with it?
Thanks,
Phriction
