title: Add a picture to Picture Control in a dialog box (error RC2108: expected numerical dialog constant)
body: <p>I am trying to add a picture to a Picture Control in a dialog box. by following this <a href="http://www.functionx.com/visualc/applications/displaybitmap.htm" rel="nofollow">page</a> I added a .bmp format image (Size=457 KB) to the Resource view and then draw a Picture Control on the dialog box, finally in Picture Control properties I changed type to bitmap, Real Size Image to TRUE,Image Id: IDB_PICTURE1, Picture Control Id:IDC_PICTURE.
  After debugging I receive this error : </p>
  
  <pre><code>error RC2108: expected numerical dialog constant
  </code></pre>
  
  <p>By double clicking on error message compiler shows end of following line.</p>
  
  <pre><code>CONTROL         IDB_PICTURE1,IDC_PICTURE,102,98,222,125,SS_REALSIZEIMAGE | NOT WS_GROUP
  </code></pre>
  
  <p>and in Resource.h I see:</p>
  
  <pre><code>#define IDB_PICTURE1                    177
  #define IDC_PICTURE                     1045
  </code></pre>
  
  <p>I followed a bunch of forums but I couldn't find any solution.</p>