Form Borders

G

Gene

Is there anyway around being stuck with the border color of the currently
selected color theme in XP?

I'm sure I could use the FormBorderStyle=None and then try to figure out how
to draw it but I'm hoping there's a MUCH simpler way. Any help is much
appreciated

Gene
 
H

Herfried K. Wagner [MVP]

* "Gene said:
Is there anyway around being stuck with the border color of the currently
selected color theme in XP?

I'm sure I could use the FormBorderStyle=None and then try to figure out how
to draw it but I'm hoping there's a MUCH simpler way. Any help is much
appreciated

You will have to draw the border yourself.
 
G

Gene

Any ideas as to how I can do that? I've wasted a couple days playing around
with the Drawing class to no avail. I have searched all over and can find
nothing on this. Any help is appreciated
 
C

CJ Taylor

Inherit the Form class, override the onPaint method I believe.

then do your drawing.


Gene said:
Any ideas as to how I can do that? I've wasted a couple days playing around
with the Drawing class to no avail. I have searched all over and can find
nothing on this. Any help is appreciated


out
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top