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:
Michael R Sweet 2002-04-29 20:18:01 +00:00
parent e845bebc6f
commit c8aebffa88
2 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,7 @@
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
in WIN32 version of scandir(). This takes care of a
file chooser performance problem with large

View File

@ -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).
//
@ -975,8 +975,10 @@ Fl_X* Fl_X::make(Fl_Window* w) {
styleEx |= WS_EX_WINDOWEDGE | WS_EX_CONTROLPARENT;
int xwm = xp , ywm = yp , bt, bx, by;
switch (fake_X_wm(w, xwm, ywm, bt, bx, by)) {
// No border (user for menus)
case 0: style |= WS_POPUP; break;
// 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;
@ -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 $".
//