I have another question:
I am learning to display bitmaps in dialog boxes, and have the following code for a resource:
This puts a picture frame in a dialog box called IDC_SUNFRAME, intended to display an image called IDB_SUNPIC on a dialog box. I compile this, but get the error telling me that WC_STATIC is undefined. I tried defining it in the resource header as -2, but this time, although the program runs, nothing happens when I press the button to open the dialog box with the picture fram in it.
CONTROL IDB_SUNPIC, IDC_SUNFRAME, WC_STATIC, SS_BITMAP, 30, 12, 341, 236
What could be wrong? How do you define WC_STATIC?