hello;
how can i resize bitmap file to fit into picture control size
suppose that my picture control variable is Display_Map_Temp, here is the snap of my code, i suppose that the resizing code should be in between attach and setbitmap
any help please;
HANDLE hBitMap = ::LoadImage(0, Bitmap_File_Path ,IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
Bmp_MAP_TEMP.Attach((HBITMAP)hBitMap);
Display_Map_Temp.SetBitmap(Bmp_MAP_TEMP);
Bmp_MAP_TEMP.Detach();
thanks;