|
-
October 29th, 2009, 12:10 AM
#1
CButton without black border
Hi,
I am trying to create a button with bitmaps , like an on / off switch. Each time the user clicks the button the bitmap is changed correspondingly.
I have used CButton::Create to create the button at run time. Here are the styles:
Code:
BS_BITMAP|WS_VISIBLE |WS_CHILD | BS_NOTIFY | BS_FLAT
There is a black border aboud the button which i want to remove. I have tried using CBitmapButton, but it has the same black border around it.
How can i remove the border around the button?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|