How do i include a picture as resource with Microsoft Visual C++ 5.0?
How do i include a picture as resource with Microsoft Visual C++ 5.0?
Simply Select Insert, followed by Resource. This will bring up the resource selector. Select Bitmap (assuming you want a bitmap?) and there you have it. If you wanted to use that you can use the macro MAKEINTRESOURCE( ID_MY_RESOURCE ) this converts an integer value (the name constant) to a resource compatible value. If you don't want to use the macros make sure you have you ID's as strings with quotes. Also, obviously, ID_MY_RESOURCE is a fictious resource ID. Have fun.