Guys, which is better ? LoadBitmap() or LoadImage(), i understand LoadImage has more options like specifying the width and height, but how do i store it ?
Code:
HBITMAP image;
image = LoadImage(0,MAKEINTRESOURCE(IDB_BITMAP),IMAGE_BITMAP,50,50,LR_VGACOLOR);
but an error came out
Code:
G:\C++\Task\task.cpp(21) : error C2440: '=' : cannot convert from 'void *' to 'struct HBITMAP__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
And am i using the right value LR_VGACOLOR for resource type.