[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'SetMinGrow' Call? [PROGRAMMIN' Question]
In article <1993May10.135813.42894@urz.unibas.ch> hochstrasse@urz.unibas.ch writes:
>The desktop programmers among you know that there is a call named
>
> SetMaxGrow (blablabla)
>
>Now, I need the opposite: Tell the Window Manager the minimum size
>I want my windows to have. There IS such a size (you can't shrink
>a window below a certain size), but I don't know whether it's
The dimensions of a window's content area can be reduced to 0 (that's
part of WinFlate's deflation process). However, TaskMaster will only
let a user shrink a window to a default minimum size when it calls
GrowWindow.
>hardcoded into the Window Mgr. I need this because I have some
>additional controls in the lower frame region which get into the
>way of the horizontal scroll bar, and mess things up.
Instead of letting TaskMaster call GrowWindow for you, set the tmGrow
bit in your taskMask to 0 and call GrowWindow yourself when TaskMaster
returns the wInGrow code. GrowWindow lets you pass a minimum width and
height for your window as a paramater.
Jason Simmons
jsimmons@sbcs.sunysb.edu