Daily Archives: August 25, 2005

MFC: Create a resource-based default frame view

CMyFrame is a CFrameWnd created with class wizard CMyView is a CFormView created with the class wizard I want CMyFrame to always incorporate CMyView as the view. Make sure MyFrame.cpp includes MyView.h bool CMyFrame::LoadFrame(…, CCreateContext* pContext) {  CCreateContext ctxt;  if … Continue reading

Posted in tech | Leave a comment

MFC warning

I might as well warn you know, I’m going to be blogging lots of frustrating things about MFC in this space for a while.

Posted in tech | Leave a comment