HighTechTalks DotNet Forums  

border consideration

Dotnet Framework (WinForms) microsoft.public.dotnet.framework.windowsforms


Discuss border consideration in the Dotnet Framework (WinForms) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Lloyd Dupont
 
Posts: n/a

Default border consideration - 07-19-2005 , 08:39 AM






I have a custom control (completely user drawn) to which I would like to
apply a standart border.

1st: There is the BorderStyle and Border3DStyle enums, I don't know which
one I should choose for my control, what do you reckon?

2nd: once the border is set, I have to draw it (the border)(easy with
ControlPaint) and change my inner working area.
For that I need to know the padding of the border, how do I know that?



Reply With Quote
  #2  
Old   
Lloyd Dupont
 
Posts: n/a

Default Re: border consideration - 07-19-2005 , 09:53 AM






nothing to worry, I did work it out...

"Lloyd Dupont" <ld (AT) NewsAccount (DOT) galador.net> wrote

Quote:
I have a custom control (completely user drawn) to which I would like to
apply a standart border.

1st: There is the BorderStyle and Border3DStyle enums, I don't know which
one I should choose for my control, what do you reckon?

2nd: once the border is set, I have to draw it (the border)(easy with
ControlPaint) and change my inner working area.
For that I need to know the padding of the border, how do I know that?




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.