Button without borders 
Author Message
 Button without borders

I am creating a Windows app using C#. I want to create a button with an
image on it.... That's not a problem. But I want this button to not have any
borders, so it looks like the image itself is the button. How do I turn off
the borders? And, also, is there a way to turn of the little dotted-line
that will surround the surface of the button when it is selected?

This seems like is should be such a simple property but I am stuck.

Thanks



Sun, 28 Nov 2004 23:53:13 GMT  
 Button without borders
Ok... Sorry. Im an idiot :)........ I figured it out. For those of you who
may need it, I just set the foreground property of the button to whatever
the color of the surface the button was on. Duh!!!


Quote:
> I am creating a Windows app using C#. I want to create a button with an
> image on it.... That's not a problem. But I want this button to not have
any
> borders, so it looks like the image itself is the button. How do I turn
off
> the borders? And, also, is there a way to turn of the little dotted-line
> that will surround the surface of the button when it is selected?

> This seems like is should be such a simple property but I am stuck.

> Thanks



Mon, 29 Nov 2004 00:38:56 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. button without border

2. flat CToolBar without button borders

3. Window Without border and without title bar

4. Frame client without borders(without WS_EX_CLIENTEDGE) ?

5. how to create a window without any close button (include OK button and X button)

6. How to create a windows without border?

7. Move a Form without a Border?

8. How to create a windows without border?

9. window without titlebar and border

10. looking for interior floodfill routine... without border color

11. CFrameWnd without an border

12. How to create a windows without border?

 

 
Powered by phpBB® Forum Software