Showing and hidind parts of a bitmap [modified][Solved]
-
Hello good people! How are you doing? Well, I need some help here and maybe someone could help me. I'm tryng to do something like a VuMeter (like this one), but my control have a bitmap as background and need to be 'covered' and 'uncovered' depending of the value. Something like a layer above the bitmap. I use
CDC::SelectObject(&my_bitmap);
to set the bitmap as background. I don't have much experience in GDI or device context, and if someone have some code example or something it'll be really helpfull. Thanks! Best regards! -- modified at 15:23 Tuesday 17th July, 2007 -
Hello good people! How are you doing? Well, I need some help here and maybe someone could help me. I'm tryng to do something like a VuMeter (like this one), but my control have a bitmap as background and need to be 'covered' and 'uncovered' depending of the value. Something like a layer above the bitmap. I use
CDC::SelectObject(&my_bitmap);
to set the bitmap as background. I don't have much experience in GDI or device context, and if someone have some code example or something it'll be really helpfull. Thanks! Best regards! -- modified at 15:23 Tuesday 17th July, 2007