HOW TO LOAD BITMAP IMAGE TO DIALOG FORM IN VC++
-
Hello friends, I am facing problem how to load the bitmap to dialog form in MFC. Can anyone help me in this matter. Can any one help me in this matter?. Can explain how to load the bit map with a sample code in MFC. Hoping for a reply on this issue. From Phijo :)
-
Hello friends, I am facing problem how to load the bitmap to dialog form in MFC. Can anyone help me in this matter. Can any one help me in this matter?. Can explain how to load the bit map with a sample code in MFC. Hoping for a reply on this issue. From Phijo :)
If you want to load bitmap from your resource then use LoadBitmap(..) Refer LoadBitmap[^] if the bitmap is a file in your PC then use LoadImage(...) Refer LoadImage[^]
Do your Duty and Don't expect the Result
-
Hello friends, I am facing problem how to load the bitmap to dialog form in MFC. Can anyone help me in this matter. Can any one help me in this matter?. Can explain how to load the bit map with a sample code in MFC. Hoping for a reply on this issue. From Phijo :)
Import bitmap-> create a new picture control select properties then select type = bitmap and image = "your image" !!!!
Bravoone
-
Hello friends, I am facing problem how to load the bitmap to dialog form in MFC. Can anyone help me in this matter. Can any one help me in this matter?. Can explain how to load the bit map with a sample code in MFC. Hoping for a reply on this issue. From Phijo :)
See
CImage::Load
orLoadImage
CImage::Load(...)
then useCImage::BitBlt(...)
and in the end useCImage::Detach()
_**
**_
WhiteSky
-
Hello friends, I am facing problem how to load the bitmap to dialog form in MFC. Can anyone help me in this matter. Can any one help me in this matter?. Can explain how to load the bit map with a sample code in MFC. Hoping for a reply on this issue. From Phijo :)
There are several ways to do what you want:- 1)picture control. 2)draw in the Dialog's paint handler To get to the bitmap in the resource file, you can use LoadImage Ofcourse you could draw on a owner draw button also.