[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TaskMaster Question (PROGRAMMING Q.)
Hi, Netters!
Thanks a lot for the overwhelming response to my last questions!
Now let's keep going...
I think I don't quite understand, what the TaskMaster does in
the following case:
I have a window with several controls in it:
- a vertical and horizontal scroll bar
- a grow box
- several picture controls for rulers and the like.
The ruler is the reason why I don't define the scroll bars
and grow box in the Frame Region of the window (i.e. with
the appropriate bits in the rWindParam1 template). [The trick
which goes messing around with the port rectangle, described
in some Tech Note doens't work either, 'cause there is a LineEdit
control in the ruler...]
Anyway, how do I access my scroll bars and grow box? Does the
TaskMaster return wInContent or wInControl?
The SizeBox works automatically, when bit 0 in the flags is set,
but does this override the tmGrow bit in the TaskMask? [I want
to handle the grow box myself to guarantee a minimal window size,
but if I reset the corresponding bit in the TaskMask, TM goes on
handling my grow box itself...]
Does it matter whether scroll bars and size box lie outside the
Clip Region? [Of course I would enlarge the Clip Rgn just before
calling TrackControl...]
Any clarifications by the pros are highly appreciated! [Of course
there's a place in the credit roll of Chemix for you!!!]
--Urs
| BRIGHT SOFTWARE | * A P P L E I I F O R E V E R * |
| Urs Hochstrasser | Actually in Development: C H E M I X |
| Strassburgerallee 79 | Pseudo: CodeBurger (binary sauce) |
| 4055 BASEL, SWITZERLAND | InterNET: HOCHSTRASSE@URZ.UNIBAS.CH |