BMP equivalent to LoadImageBynum and DrawIconEx?
The following two lines of code place an Icon in a PictureBox. The Icon is re-sized to fit the PictureBox (this is the important part).
ImageHandle = LoadImageBynum(0, IDI_WINLOGO, IMAGE_ICON, 0, 0, LR_DEFAULTCOLOR Or LR_DEFAULTSIZE Or LR_SHARED)
Ret = DrawIconEx(Picture1.hdc, 0, 0, ImageHandle, Picture1.ScaleWidth, Picture1.ScaleHeight, 0, 0, DI_NORMAL)
What is the equivalent for a .BMP picture (either load from disk, or from another Image or PictureBox Control)?
Thanks,