Loading 2 bitmaps in one picture control one at a time
-
Hi guys, I've been trying to load bitmaps into my dialog. I have one picture control and i have 2 bitmaps that i want to use. this is part my code in general: if (Firstsituation) { thisimage.SetBitmap(bmp1); } else { thisimage.SetBitmap(bmp2); } I'm wondering why it keeps on loading the image i have at default at my picture control properties. I just can't load them the way I want them to. Even when I remove the code for LoadBitmap(CONTROL), it still executes the project, though a bit of code is missing. Anyone who can enlighten me? I'm kinda confused. waxiegal:rose:
-
Hi guys, I've been trying to load bitmaps into my dialog. I have one picture control and i have 2 bitmaps that i want to use. this is part my code in general: if (Firstsituation) { thisimage.SetBitmap(bmp1); } else { thisimage.SetBitmap(bmp2); } I'm wondering why it keeps on loading the image i have at default at my picture control properties. I just can't load them the way I want them to. Even when I remove the code for LoadBitmap(CONTROL), it still executes the project, though a bit of code is missing. Anyone who can enlighten me? I'm kinda confused. waxiegal:rose:
perhaps this link might enlighten u
[^] dont want,dont want thinking,climbing on head and jumping grass! (venda venda ennu vicharikumbol thellayill keyaree chadunnoda pulle!)