title: How to set checkbox as check by default in an MFC dialog application?
body: <p>I'm trying to set some check boxes as checked by default in my MFC dialog when it runs.</p>
  
  <p>I have created a <code>CButton</code> variable for the check box called <code>m_check</code>.
  Next I added <code>m_check.SetCheck</code> in <code>OnInitDialog</code>. </p>
  
  <pre><code>BOOL CModelDlg::OnInitDialog()
  {
      ....
      m_check.SetCheck;
      ....
  </code></pre>
  
  <p>The error always appears:</p>
  
  <blockquote>
    <p>Error: a pointer to a bound function may only be used to call the function.</p>
  </blockquote>
  
  <p>I'm not sure what this error means. Any help would be appreciated. Thank you!</p>