I'm fairly new to Win32 + MFC but it seems to me that using globals is virtually unavoidable.. with the WinProc and all.. or in MFC with different classes. Is there a solution to this problem I haven't come across yet in my learning? I never use global variables in my other programs, but it seems they must have to play a major part in Win32 or MFC programs.