I'm fairly familiar with the API, but I'm starting my first big MFC project (I'd use API but it's an MDI database frontend, MFC will save me about a decade). From learning API, I thought all programs had to have a WinMain function, and then RegisterClass or RegisterClassEx, but I cant find them in my AppWizard generated app. What I need for several functions is the address of the parent class, how do I get this?
One more question that might be related. I'm creating a dialog from a menu call in the parent window, and it works fine using sheet.DoModal();, but using sheet.Create(); for a modeless dialog it flashes up and then instantly disappears.