I'm trying to limit the size of the form. Basically, i have a form which i don't want to be smaller than 5000 by 3000 twips. So the basic thing which you can think of in a millisecond is this:

Code:
Private Sub Form_Resize()
  If Me.Width < 5000 Then Me.Width = 5000
  If Me.Height < 3000 Then Me.Height = 3000
End Sub
But if you try that it looks REALLY nasty when you go smaller as it flashes like crazy. How can i accomplish the same thing except doing it much cleaner like lots and lots of other programs which have a minimum size?