Adding this will remove the minimize and maximize options too.
> int main(int argc, char** argv) {
> Fl_Window w(200,400);
> w.show(argc, argv);
> HWND hw = fl_xid(&w);
> SetClassLong(hw,GCL_STYLE,GetClassLong(hw,GCL_STYLE)|CS_NOCLOSE);
SetWindowLong(hw,GWL_STYLE,GetWindowLong(hw,GWL_STYLE)&~WS_MINIMIZEBOX);
> SendMessage(hw,WM_NCPAINT,0,0); //redraw window and border
> return Fl::run();
> }
I would expect that to do something similar on X, you would use the
hints described here:
http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2551927
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk