0
Answer

Create bitmap button dynamically

Swastik Shah

Swastik Shah

13y
1.6k
1
I used VS 2008 to create dialogbox that allows me to use CBitmapButton for creating button (with image).   Dialog editor allowed me to do so.  However, all buttons are created as static.

I woder how can I create and add these button dynamically (i.e based on an event that would decide which image will be loaded in the button on-fly)?

Thanks.