I have another question:
I am learning to display bitmaps in dialog boxes, and have the following code for a resource:
Code:
CONTROL IDB_SUNPIC, IDC_SUNFRAME, WC_STATIC, SS_BITMAP, 30, 12, 341, 236
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.
What could be wrong? How do you define WC_STATIC?
Thanks.