Answers

Question and Answer:

  Home  MFC

⟩ What is a message map?

Message map is dynamic function locater

It can look each function if it defined

e.g

void OnWndMessage(UINT message, WPARAM wParam, LPARAM

lParam, LRESULT *pResult)

{

// function looking MESSAGE_MAPS ((DECLARED))

// if found, CWnd::OnSize(UINT nStyle, int cx, int cy);

__thisclass.OnSize(wParam, HIWORD(lParam), LOWORD(lParam);

}

//M

 221 views

More Questions for you: