Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cursor changes when crossing border of non-resizable form

Status
Not open for further replies.

DotNetter

Programmer
May 19, 2005
194
US
I have a WinForm that I do not want the use to resize. I don't see a Resizable property that I can set to false. So I enforced it by setting the maximum and minimum size of the form to the same.

First of all, is there a better way to do that? Secondly, I don't want the cursor changing when you hover over the border of the form - implying that it is resizable - how can I do that?

Thanks!
Dot
 
Set the form's FormBorderStyle property to one of the setings that has "Fixed" in the title:

FixedSingle
Fixed3D
FixedDialog
FixedToolWindow

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Thank you - oops - I should have caught that one...
Dot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top