Well, in this case the users cannot change their settings (locket)...and as
the default windows-colors don't match the once in the app I would like to
change it just for cosmetic reasons!
"ClaesWedin"
--
Claes Wedin
Altcom AB
"Morten Wennevik [C# MVP]" wrote:
> Hi Claes,
>
> The border is drawn by Windows, but you can set FormBorderStyle to None and draw a border yourself in the PaintBackground event. However, removing the border also removes the ability to resize, move and a bunch of other handy features which you will have to code yourself.
>
> Anyway, why do you want to change the Windows border color for a single application? This is one of the things a user should be able to define himself as a global setting.
>
>
> On Thu, 22 Feb 2007 11:27:05 +0100, ClaesWedin <(E-Mail Removed)> wrote:
>
> > I want my application to have a special color on the Window forms borders.
> > Not the standard one (which the user has set up in his desktop-properties)...
> > How can I do this? I can change background/foreground colors etc and the
> > border also have some propereties, but not the color and shading...
> >
> > Claes
> >
>
>
>
> --
> Happy coding!
> Morten Wennevik [C# MVP]
>
|