Re: [fltk.general] Window Borders

2010-12-10 Thread Paul R
> > I tried this (on Vista) and can not reproduce the bug you are describing. Can > you try the attached sample file, and let us know if it works correctly. > The resizing behaviour you describe should not be happening. I tested the file supplied, it worked perfectly, no problems at all

[fltk.general] Mouse Activity

2010-12-10 Thread Paul R
Just to put my mind at ease, as I feel certain this must be a system specific bug: There often seems to be a slight lag in the mouse being 'available' inside my FLTK windows after a button click to start or whatever. This behaviour i had ignored as acceptable and most probably system specific. Th

Re: [fltk.general] Window Borders

2010-12-10 Thread Ian MacArthur
> Its windows operating system, same thing happens on versions 7, 2000 > and xp > > The shrink effect i described is as follows > > > window pops up as required, w295, h174 > > if i try to drag the window, on release the bottom right x & y > coordinates shrink upwards so that the window has size 18

Re: [fltk.general] Window Borders

2010-12-10 Thread Paul R
> On 10/12/10 12:19, Paul R wrote: > > > How can i get a window with border, but without the > > maximize/minimize icons? > > This appears fixed, I noticed I had not correctly set minimum and maximum sizes to the same as the actual window starting size, the values were smaller! = shrink, one can su

Re: [fltk.general] button focus

2010-12-10 Thread Paul R
> > You could also try setting the "when" type of your button to > FL_WHEN_ENTER_KEY - that should give a similar result to using an > Fl_Return_Button widget, but without the more elaborate drawing style. > > i did experiment with the 'enter' callback, it made the program hang, but i suspect that

Re: [fltk.general] Window Borders

2010-12-10 Thread Paul R
Its windows operating system, same thing happens on versions 7, 2000 and xp The shrink effect i described is as follows > window pops up as required, w295, h174 if i try to drag the window, on release the bottom right x & y coordinates shrink upwards so that the window has size 180 * 111 or ther

Re: [fltk.general] button focus

2010-12-10 Thread imacart...@gmail.com
On 10/12/10 09:22, Paul R wrote: > >> >> Try using an Fl_Return_Button instead of a regular button. >> Spacebar is normally the keynav way to trigger a button when it has >> focus. >> When you want the Enter key to do it, us an Fl_Return_Button. >> >> See also: the 'ask' progra

Re: [fltk.general] Window Borders

2010-12-10 Thread imacart...@gmail.com
On 10/12/10 12:19, Paul R wrote: > How can i get a window with border, but without the > maximize/minimize icons? Window decorations are the responsibility of the window manager (WM), not of fltk, so there's no direct way in fltk to select which (if any) of the window controls are shown (though

[fltk.general] Window Borders

2010-12-10 Thread Paul R
Hi all, How can i get a window with border, but without the maximize/minimize icons? I tried removing the border but thats not really any good as i still need to be able to move my window around, it's just a popup window for errors or warnings Presently it is set to non-resizable, if i click th

Re: [fltk.general] button focus

2010-12-10 Thread Paul R
> > Try using an Fl_Return_Button instead of a regular button. > Spacebar is normally the keynav way to trigger a button when it has > focus. > When you want the Enter key to do it, us an Fl_Return_Button. > > See also: the 'ask' program in the test directory, > whic