← BYTES
Visual C++/MFC·Starter·Ref: 25.1.11

Which function is commonly overridden to initialize an MFC application's main window?

Have a question about this video? Mention reference 25.1.11 when you contact us.

a.WinMain
b.main
c.DllMain
d.InitInstance
CWinApp::InitInstance is the virtual function an MFC app overrides to create its main window and perform one-time startup initialization; MFC's own code calls it from a generated WinMain.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES25111#VisualCMFC