Answer:
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
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
Previous Question | Next Question |
How to create a button dynamically? | List out the basic features of MFC? |