Preventing resizing of form (OpenInsight Specific)
At 26 APR 1999 09:29:10AM Steve C. wrote:
I finally gave up trying to set a background to a groupbox
and designed an entire form background with a bitmap, including
groupbox type highlights. I want to prohibit the resizing of
the form by mouse dragging the corner or maximizing, so the bitmap background does not get messed up by being
"clipped" or multiple tiled, but I still need the system minimize
button since this is for a menu.Setting "dialog" frame type doesn't
work since I then loss the minimize button.
Any suggestions?
Steve C.
At 26 APR 1999 11:23AM Don Bakke wrote:
Steve,
First suggestion is to use a thin frame. This prevents the window from being resizable.
Second suggestion is to put code in your SIZE event that restores the window whenever anyone attempts to resize it.
dbakke@srpcs.com
At 26 APR 1999 11:32AM Steve C. wrote:
Don,
The thin Frame is just what I needed. I thought I tried it
and it didn't work….. but it does..
Sometimes thinking can get you in trouble.
Thanks…
Steve C.