I am trying to add a picture to a Picture Control in a dialog box. by following this page 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 :
error RC2108: expected numerical dialog constant
By double clicking on error message compiler shows end of following line.
CONTROL IDB_PICTURE1,IDC_PICTURE,102,98,222,125,SS_REALSIZEIMAGE | NOT WS_GROUP
and in Resource.h I see:
#define IDB_PICTURE1 177
#define IDC_PICTURE 1045
I followed a bunch of forums but I couldn't find any solution.
CONTROL IDB_PICTURE1,IDC_PICTURE,"Static",SS_BITMAP,7,7,362,231
– Jabberwocky