[futurebasic] Basic window questions

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

From: Robert Covington <t88@...>
Date: Wed, 15 Mar 2000 02:46:00 -0500
What is the proper method with a _doc or _docZoom window to set the minimum
and maximum zoom sizes, and also to make it that the user cannot drag a
window with scroll bars (with a picture in the interior for example) beyond
the size of the actual picture?

What dialog events do you monitor, and how best to change/restrict the
window zoom and drag to reflect such size?

Using the Scroll Picture FB II example in places, I adapted Tedd's gWorld
example to work in a non-PG environment for a pict I load, but resizing the
window leaves a white area if I go beyond the bounds of the picture. I want
the size of the picture to be the absolute limit.

But hey this works, and is a first for me having a window where I can
scroll my PICT. No more stuck with size of the screen. :) A white area is
better than the psychedelic pixel blitz I got when my rects weren't being
set just right though. The colors, the colors,  man.

In the non basic, yet still BASIC dept. , anybody have anything that shows
how to place info in the scroll area (bottom of window), also perhaps
buttons? How to do that and still have scroll bars? FB example name or Web
site download appreciated. Anyone who has ever seen the 3d program
PatchDance's window "widgets", that is what I want to do.

Thanks

Robert Covington