mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
Flag menu and tooltip windows as WS_EX_TOOLWINDOW so they don't appear in
the task bar... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
CHANGES IN FLTK 1.1.0rc1
|
CHANGES IN FLTK 1.1.0rc1
|
||||||
|
|
||||||
|
- Tooltip windows would show up in the task bar under
|
||||||
|
WIN32.
|
||||||
- Now append trailing slash to directory names in names
|
- Now append trailing slash to directory names in names
|
||||||
in WIN32 version of scandir(). This takes care of a
|
in WIN32 version of scandir(). This takes care of a
|
||||||
file chooser performance problem with large
|
file chooser performance problem with large
|
||||||
|
|||||||
+6
-4
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: Fl_win32.cxx,v 1.33.2.37.2.27 2002/04/16 07:47:31 spitzak Exp $"
|
// "$Id: Fl_win32.cxx,v 1.33.2.37.2.28 2002/04/29 20:18:01 easysw Exp $"
|
||||||
//
|
//
|
||||||
// WIN32-specific code for the Fast Light Tool Kit (FLTK).
|
// WIN32-specific code for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@@ -975,8 +975,10 @@ Fl_X* Fl_X::make(Fl_Window* w) {
|
|||||||
styleEx |= WS_EX_WINDOWEDGE | WS_EX_CONTROLPARENT;
|
styleEx |= WS_EX_WINDOWEDGE | WS_EX_CONTROLPARENT;
|
||||||
int xwm = xp , ywm = yp , bt, bx, by;
|
int xwm = xp , ywm = yp , bt, bx, by;
|
||||||
switch (fake_X_wm(w, xwm, ywm, bt, bx, by)) {
|
switch (fake_X_wm(w, xwm, ywm, bt, bx, by)) {
|
||||||
// No border (user for menus)
|
// No border (used for menus)
|
||||||
case 0: style |= WS_POPUP; break;
|
case 0: style |= WS_POPUP;
|
||||||
|
styleEx != WS_EX_TOOLWINDOW;
|
||||||
|
break;
|
||||||
|
|
||||||
// Thin border and title bar
|
// Thin border and title bar
|
||||||
case 1: style |= WS_DLGFRAME | WS_CAPTION; break;
|
case 1: style |= WS_DLGFRAME | WS_CAPTION; break;
|
||||||
@@ -1179,5 +1181,5 @@ void Fl_Window::make_current() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.27 2002/04/16 07:47:31 spitzak Exp $".
|
// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.28 2002/04/29 20:18:01 easysw Exp $".
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user