Remove button border
-
when bmp image is used in the dialog background then the button creates a white border. how to remove this border. sample of how it looks is below http://i55.tinypic.com/25qdj79.png[^]
Some Day I Will Prove MySelf :: GOLD
-
when bmp image is used in the dialog background then the button creates a white border. how to remove this border. sample of how it looks is below http://i55.tinypic.com/25qdj79.png[^]
Some Day I Will Prove MySelf :: GOLD
-
Not sure but, try setting Transparent property of button to true. (WS_EX_TRANSPARENT style).
i have checked it's not working.
Some Day I Will Prove MySelf :: GOLD
-
when bmp image is used in the dialog background then the button creates a white border. how to remove this border. sample of how it looks is below http://i55.tinypic.com/25qdj79.png[^]
Some Day I Will Prove MySelf :: GOLD
goldenrose9 wrote:
not able to open the link due to corporate issue. anyways.. if by any mean i can able to see the bitmap, i can comment on same!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
goldenrose9 wrote:
not able to open the link due to corporate issue. anyways.. if by any mean i can able to see the bitmap, i can comment on same!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
sir what do i do so u can see the bitmap? sir a small brief of my program is as follows. my program is in win32, i had used BMP image on the Dialog, the BMP image cover the entire dialog. BMP image is in blue color. And added a button on the dialog. without using manifest the button is ok, but after enabling xp visual style a strange border is created around the button. As the Dialog has BMP image loaded, it creates a strange look, if some how the extra border of the button can be removed, then it will be ok. I am unable to remove the extra border. i don't want to remove the button border, i want to remove only the extra border that is created around the button after enabling xp visual styles. please help.
Some Day I Will Prove MySelf :: GOLD
-
sir what do i do so u can see the bitmap? sir a small brief of my program is as follows. my program is in win32, i had used BMP image on the Dialog, the BMP image cover the entire dialog. BMP image is in blue color. And added a button on the dialog. without using manifest the button is ok, but after enabling xp visual style a strange border is created around the button. As the Dialog has BMP image loaded, it creates a strange look, if some how the extra border of the button can be removed, then it will be ok. I am unable to remove the extra border. i don't want to remove the button border, i want to remove only the extra border that is created around the button after enabling xp visual styles. please help.
Some Day I Will Prove MySelf :: GOLD
May be this is the 'default button' signal - I'm not sure. Try to add another HIDDEN button to the form and make that button the default one. HTH
-
May be this is the 'default button' signal - I'm not sure. Try to add another HIDDEN button to the form and make that button the default one. HTH
this is not the default signal, because i have four buttons on the dialog, and each button have the same problem. When the button are in classic style every thing is ok. But after enabling XP Visual Styles this problem occurs.
Some Day I Will Prove MySelf :: GOLD