MFC

Function call flow

1
2
3
4
5
6
CDialog::PreInitDialog()
CDialog::HandleInitDialog(WPARAM, LPARAM)
CDemoDlg::OnInitDialog()
CDialog::CheckAutoCenter()
CDialog::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo);
CDialog::PreTranslateMessage(pMsg)

Solve “Opened in another editor” in Resource View

Close “Resource.h” and all “.rc” file. Then shrink and re-expand the “rc” folder in Resource View.