| [ Return to Bugs & Features | Post Text | Post File | Prev | Next ]
STR #767
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 2 - Specific to an operating system |
Subsystem: | WIN32 |
Summary: | Removeing titlebar but keeping border.(win32) |
Version: | 1.4-feature |
Created By: | Cristian |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
|
#1 | Cristian 15:12 Mar 19, 2005 |
| There should be a way of makeing a window without an titlebar , but without removeing the border. Currently i see that fltk only supports borderless & titlebarless windows for menus. Support can be simply added by creating a 4-th case here(Fl_win32.cxx): Fl_X* Fl_X::make(Fl_Window* w) { ....... switch (fake_X_wm(w, xwm, ywm, bt, bx, by)) { // No border (used for menus) case 0: style |= WS_POPUP; styleEx |= WS_EX_TOOLWINDOW; break;
// Thin border and title bar case 1: style |= WS_DLGFRAME | WS_CAPTION; break;
// Thick, resizable border and title bar, with maximize button case 2: style |= WS_THICKFRAME | WS_MAXIMIZEBOX | WS_CAPTION ; break; } ....... }
Mainly: case 0: style |= WS_POPUP; //this can pe WS_POPUPWINDOW styleEx |= WS_EX_TOOLWINDOW; break;
Thank you for your time! Cheers, Cristian | |
|
#2 | AlbrechtS 04:03 Apr 23, 2008 |
| see also STR #1679: http://www.fltk.org/str.php?L1679
It's not a duplicate, but an extension. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |