Hi,
I have bitmap image that I load into picture control on my dialog box(using mfc). Problem is that bitmap image is way bigger then picture control and it gets cut off. This is my method that I load image into picture control.....

loadImage(CString myString){ //myString is name of image in my directory


HBITMAP phBitmap = (HBITMAP)LoadImage( NULL,myString,
IMAGE_BITMAP, 0, 0,LR_CREATEDIBSECTION | LR_LOADFROMFILE);
picture.SetBitmap(phBitmap);

}

Does anyone know how to shrink bitmap image and load that into picture control or to point me to some good tutorial. I found some tutorials already but they so confusing since they have so many lines of code for simple functionality that I need.

Thanks guys