Hello again. I`m makeing a skinable program, I all most done. But I need last thing. How to repaint button? I used BitBlt, but I think this is not racional way. So Maybe you can suggest me something. THNX
Printable View
Hello again. I`m makeing a skinable program, I all most done. But I need last thing. How to repaint button? I used BitBlt, but I think this is not racional way. So Maybe you can suggest me something. THNX
You want to use an owner drawn button. This way you would simply paint a button upon each WM_DRAWITEM where your button is drawn. Also, its messy to subclass buttons just for the sake of drawing them, avoid this technique.