hi all
I want to set a bitmap (present in the resource) on to the from view. I tried using CPictureHolder class i seem to be missing something as nothing appers on the form view
Any ideas will be appreciated.
harish
Printable View
hi all
I want to set a bitmap (present in the resource) on to the from view. I tried using CPictureHolder class i seem to be missing something as nothing appers on the form view
Any ideas will be appreciated.
harish
There are many ways to accomplish what you're shooting for, one of them is to create (or import) a bitmap into your resource file, and name it something like IDB_CIRCLE or something similar for your needs. Then go to the actual dialog that you are wanting to add the image to, and select the picture resource. Then put an item of that type onto the form view, or dialog resource. After you've done that, view the properties for that image, and select the "BITMAP" setting, and then choose the bitmap resource "IDB_CIRCLE" for example. That will get a bitmap onto your CFormView derived class, or your dialog. Good luck!
- Troy
hi troy
i have already achieved that What i want is to programmaticaly change this bitmap is it possible and how ???
harish
Lookup "Win32 functions by category" in your MSDN Help index. Then search for Bitmap functions, and you should be given many things that you can do. :) Good luck..
- Troy
hi troy
i did do it using SetBitmap but it did not work and later going through the MSDN i found that it does not display as per article
Article ID: Q151378
harish