Raph wrote:

> This is my first post, I'm using fltk since years (on linux and windows 
> systems).
> 
> But, I really don't know how to remove the close/max/mix icon from a window...

Modal (and probably non-modal) windows don't have min/max icons (buttons), but 
normal window decorations. If they are resizable, you can maximize them by 
double-clicking on the window title area (at least under windows).

http://www.fltk.org/doc-1.1/Fl_Window.html#Fl_Window.set_modal
http://www.fltk.org/doc-1.1/Fl_Window.html#Fl_Window.set_non_modal


You get windows without any decorations with clear_border() or border(0).

http://www.fltk.org/doc-1.1/Fl_Window.html#Fl_Window.clear_border
http://www.fltk.org/doc-1.1/Fl_Window.html#Fl_Window.border

This applies to FLTK 1.1 and 1.3, and IIRC these methods must be called before 
show()ing the window.

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

Reply via email to