diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-02-20 19:29:57 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-02-20 19:29:57 +0000 |
| commit | 0372675ee12e54acd993f6d25a9489c1373caf75 (patch) | |
| tree | 4a9a9f67c399c3bf7c916e87622affd07fa9bbb4 /src/Fl_win32.cxx | |
| parent | 50274f8d85151d82b8f7945d9de044fe5e74bd52 (diff) | |
Always resize cells in table if set/max width not the same as the
column width.
Pass UNFOCUS events to parent groups, too (for Fl_Tabs)
Conditionally compile in support for TrackMouseEvent(), since support
for it is spotty at best.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_win32.cxx')
| -rw-r--r-- | src/Fl_win32.cxx | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index af31bef82..11d2644bc 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_win32.cxx,v 1.33.2.37.2.16 2002/01/23 16:58:01 easysw Exp $" +// "$Id: Fl_win32.cxx,v 1.33.2.37.2.17 2002/02/20 19:29:57 easysw Exp $" // // WIN32-specific code for the Fast Light Tool Kit (FLTK). // @@ -50,10 +50,24 @@ // // USE_ASYNC_SELECT - define it if you have WSAAsyncSelect()... // +// This currently doesn't appear to work; needs to be fixed! +// -// MRS - this currently doesn't appear to work anymore; needs to be fixed! //#define USE_ASYNC_SELECT + +// +// USE_TRACK_MOUSE - define it if you have TrackMouseEvent()... +// +// Apparently, at least some versions of Cygwin/MingW don't provide +// the TrackMouseEvent() function. You can define this by hand +// if you have it - this is only needed to support subwindow +// enter/leave notification under Windows. +// + +//#define USE_TRACK_MOUSE + + // // WM_SYNCPAINT is an "undocumented" message, which is finally defined in // VC++ 6.0. @@ -531,6 +545,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar case WM_RBUTTONUP: mouse_event(window, 2, 3, wParam, lParam); return 0; case WM_MOUSEMOVE: +#ifdef USE_TRACK_MOUSE if (Fl::belowmouse() != window) { TRACKMOUSEEVENT tme; @@ -540,6 +555,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar _TrackMouseEvent(&tme); } +#endif // USE_TRACK_MOUSE mouse_event(window, 3, 0, wParam, lParam); return 0; @@ -1049,5 +1065,5 @@ void Fl_Window::make_current() { } // -// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.16 2002/01/23 16:58:01 easysw Exp $". +// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.17 2002/02/20 19:29:57 easysw Exp $". // |
