Jump to content

Changing Bitmap in Image control at run time


Guest Ravi Ranjan

Recommended Posts

Guest Ravi Ranjan

HI every one,

I am trying to load an image in Image control in smart phone, initialy iassigned an image , at run time now i want to change the image according to some condition with some other bitmap, but i don't know which function to use , as we have a function in MFC SetBitMap() . Basically my need is to change image at run time according to condition in side a dialog box , if i am using HDC , and StretchBlt() i;e drawing GetDc(),or BeginPaint() then the image gets cleared as soon as the dialog box gets repainted, so i used an image control as a child control so that image should alaways gets repainted, but i stucked due to function.

is there any one who can help me.Thanks in advance.

Ravi Ranjan :) :roll:

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.