-
August 30th, 2012, 03:56 PM
#1
Borderless buttons on CDialogBar
I want to clean up the look of my dialog bar by having borderless buttons in my freeware app (www.noteliner.org). I'm using VC 2005. I tried ModifyStyle( 0, TBSTYLE_FLAT ) within the dialogbar OnCreate, and to remove the WS_BORDER style from the buttons but nothing seems to work.*In VC2005 am I able to have borderless buttons on a CDialogBar? Can you tell me how?*Thanks,Sam
-
August 31st, 2012, 01:45 AM
#2
Re: Borderless buttons on CDialogBar
The "flat" style for button controls is BS_FLAT.
-
August 31st, 2012, 07:52 AM
#3
Re: Borderless buttons on CDialogBar
Afraid BS_FLAT is not a borderless style.
and to remove the WS_BORDER style from the buttons but nothing seems to work
And it never would. Old Windows controls are very rigid in aspect of controlling their visual traits. A solution may be BS_OWNERDRAW only.
Last edited by Igor Vartanov; August 31st, 2012 at 07:56 AM.
Best regards,
Igor
Tags for this Thread
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
|