> My current setup is as such: I have a Fl_Window which, in 
> turn, is made up of a Fl_Tile with multiple Fl_Box's. 
> Usually, when I increase the width of the main window, only 
> the width of the right-most Fl_Box increases.
> 
> I am trying to achieve the following: What I thought I could 
> is, while I am resizing the window, if I press down on the 
> CTRL key, the main window will change size in steps (using 
> the size_range() function) and I can set the widths of all of 
> the Fl_Box's to the same value. And if I stopped pressing 
> CTRL key, then I would continue changing only the size of the 
> right-most Fl_Box.
> 
> Basically, I just wanted to have two different modes of 
> resizing and the ability to change between modes while I am resizing.


Hmm, might be tricky.
If you can use the keystroke (or maybe right/middle mouse button) to
define the resizing mode *before* the DRAG begins, then I guess it would
be OK.

But changing the resizing mode during the DRAG is going to depend on
getting the key events whilst the DRAG is active, and that might be
trickier...

Not sure what to suggest next. Anybody?



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to