Re: [fltk.general] fltk2 native file chooser

2007-04-22 Thread Greg Ercolano
Hans George wrote: > Hello! > > I know that my question appeared already some time ago, for example here: > http://ftp.cups.org/newsgroups.php?s81+gfltk.general+v88+T0+Qnative > But I couldn`t find any useful answer for me. > > So, How can I use a native file chooser with fltk2 ? > > There is th

Re: [fltk.general] FLTK Window.

2007-04-22 Thread Greg Ercolano
michael sephton wrote: i want the window that the button was on to be closed. How do i do this? >>> >>> Tell the first window to hide() itself as part of the button's >>> callback. >> >> i have tried that but how do i reference the windows pointer, i cant just do >> hide(); > >

Re: [fltk.general] FLTK 2.x Creating PopupMenumenubefore/aftercreatingsubwindow. Bug?

2007-04-22 Thread Greg Ercolano
michael sephton wrote: > win = new Window(100, 100); > vs. > win = new Window(0,0,100, 100); Mmm, interesting.. I didn't know specifying the x/y or not made a difference in behavior of creating the separate window, I thought it was just the parent()/current() thing.

Re: [fltk.general] fltk2 native file chooser

2007-04-22 Thread Marcel x
http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/userinput/commondialogboxlibrary/usingcommondialogboxes.asp?frame=false is the an example of how to do it on Windows, I dont know about mac. On 4/22/07, Hans George <[EMAIL PROTECTED]> wrote: > Hello! > > I know that my quest

Re: [fltk.general] FLTK 2.x Creating PopupMenumenubefore/aftercreatingsubwindow. Bug?

2007-04-22 Thread michael sephton
> Millan wrote: > > Yes that's logical, but I didn't wont to make separate window, > > Hmm, on my system when I build your original app and run it > (on my linux machine) it makes two separate windows. ie. two > window manager windows.. one blue, the other gray. > > This, un

Re: [fltk.general] FLTK Window.

2007-04-22 Thread michael sephton
> > Joseph wrote: > > > I have a class which creates a new window whenever a function is run, > > > but when a button is clicked, i want the window that the button was on > > > to be closed. How do i do this? > > > > Tell the first window to hide() itself as part of the button's > > callbac

Re: [fltk.general] FLTK Window.

2007-04-22 Thread Joseph
> Joseph wrote: > > I have a class which creates a new window whenever a function is run, > > but when a button is clicked, i want the window that the button was on > > to be closed. How do i do this? > > Tell the first window to hide() itself as part of the button's > callback. i hav

Re: [fltk.general] FLTK 2.x Creating PopupMenumenubefore/aftercreating subwindow. Bug?

2007-04-22 Thread Greg Ercolano
Millan wrote: > Yes that's logical, but I didn't wont to make separate window, Hmm, on my system when I build your original app and run it (on my linux machine) it makes two separate windows. ie. two window manager windows.. one blue, the other gray. This, unlike

Re: [fltk.general] FLTK Window.

2007-04-22 Thread Greg Ercolano
Joseph wrote: > I have a class which creates a new window whenever a function is run, > but when a button is clicked, i want the window that the button was on > to be closed. How do i do this? Tell the first window to hide() itself as part of the button's callback.

[fltk.general] FLTK Window.

2007-04-22 Thread Joseph
I have a class which creates a new window whenever a function is run, but when a button is clicked, i want the window that the button was on to be closed. How do i do this? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/f

[fltk.general] fltk2 native file chooser

2007-04-22 Thread Hans George
Hello! I know that my question appeared already some time ago, for example here: http://ftp.cups.org/newsgroups.php?s81+gfltk.general+v88+T0+Qnative But I couldn`t find any useful answer for me. So, How can I use a native file chooser with fltk2 ? There is the function called fltk::use_native_fi