[futurebasic] Resize Window in Proportion?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2000 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Tue, 31 Oct 2000 22:17:11 -0400
If this is an FB Example somewhere, please forgive me and point me away to
it. I am a little burnt out in codeland at this point but relaxation is
near. (For all of you too I guess. :) )

How might I keep a window in proportion in a resize drag, and have it end
up in proportion?

That is, keep it in the same H to V proportion of the full size view  (PICT
image), so that if the users  shrink or enlarge it, it stays in that
proportion during the resize drag, and after?

This a case for the case _WndSized , Preview event?

Not sure how to keep the window in proportion, especially when it is the
dotted line drag shape during the drag.

My head hurts, and people still like to kill each other all over the world.

But maybe I can solve this problem, with your help.  Then those people can
use my program to confuse themselves so that they don't know what they were
mad about to start with. Macintosh for World Peace.

Programming on a grand scale, and you can help today.

Thanks,

Robert Covington
Area 51 Technical Specialist, Retired
Now Incarcerated for matters of the utmost gravity