title: Message Map in Win32 No-MFC
body: <p>How could I create similar structure to handle Win32 Messages like it is in MFC?</p>
  
  <p>In MFC;</p>
  
  <pre><code>BEGIN_MESSAGE_MAP(CSkinCtrlTestDlg, CDialog)
      //{{AFX_MSG_MAP(CSkinCtrlTestDlg)
      ON_BN_CLICKED(IDC_BROWSE, OnBrowse)
      ON_BN_CLICKED(IDC_DEFAULTSKIN, OnChangeSkin)
      ON_WM_DRAWITEM()
      ON_WM_MEASUREITEM()
      ON_WM_COMPAREITEM()
      ON_BN_CLICKED(IDC_CHECK3, OnCheck3)
      //}}AFX_MSG_MAP
  END_MESSAGE_MAP()
  </code></pre>
  
  <p>BEGIN_MESSAGE_MAP macro handles this behaviour. What to do for pure Win32? </p>