September 11th, 2002, 08:49 PM
win32 button style question
When I specify BS_FLAT as a style for my button, using win32 and c, it adds a border around my button. Does anyone know how to get rid of that border? BTW, I'm using BS_PUSHBUTTON.
September 12th, 2002, 02:46 AM
You can add BS_OWNERDRAW to the button style flags. Then you'll get messages when you need to redraw the button. You can do whatever you want with the button drawing at this point. See the documentation for CButton::DrawItem() for more information.