[futurebasic] Re: drawing in windows

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 1998 : Group Archive : Group : All Groups

From: tedd <tedd@...>
Date: Wed, 29 Apr 1998 09:13:03 -0400
>Is there any way to draw in the bottom part of a resizeable window ? I mean
>between the two lines that would enclose the scroll bar if there was one. I
>want to put in the dimensions of the window ie 200x345 which will change
>when I get a resize event. I can put an edit field at the bottom left of
>the drawing area but would love to drop it down between the two lines. I'm
>guessing the only way would be to create a whole custom window which I'm
>reluctant to get into at the moment. Is there any nice simple way ?
>TIA
>Paul


Paul:

I have a program that draws in the area you mentioned. In fact, the window
has a scroll bar that doesn't go all the way across the bottom of the
window leaving a blank portion. In the portion that doesn't have a scroll
bar, there is a text box that displays coordinates as the user moves the
mouse. I can send you that program if you want. It is a standard FB program
(non-PG) and you should be able to figure out how I did it. However, the
program is 1 meg in size (with data).

The program does a lot more than just draw text in scroll bar area. It
shows how to set up a preference file, store things in the resources, keep
track of where the window was, hide things in PICT files, and a host of
other things. As well as showing 2D seismic data displays, which it was
designed for.

tedd

PS: If several people want this program, then I'll post the source code to
the FBwebring.


___________________________________________________________________
<mailto:tedd@...>	               http://sperling.com/