Y
Yan Yang
Guest
I can load a bitmap image to be displayed in a static control with the code below. If I want to display a GIF image in the static control, how can I load a GIF image?
Thanks in advance.
HBITMAP ctrlBitmap(NULL);
ctrlBitmap = (HBITMAP)::LoadImage( AfxGetResourceHandle(),
MAKEINTRESOURCE(IDB_THICKNESSXY),
IMAGE_BITMAP,
0,
0,
LR_DEFAULTSIZE | LR_CREATEDIBSECTION);
Continue reading...
Thanks in advance.
HBITMAP ctrlBitmap(NULL);
ctrlBitmap = (HBITMAP)::LoadImage( AfxGetResourceHandle(),
MAKEINTRESOURCE(IDB_THICKNESSXY),
IMAGE_BITMAP,
0,
0,
LR_DEFAULTSIZE | LR_CREATEDIBSECTION);
Continue reading...