Changeset 1094
- Timestamp:
- Sep 29, 1999, 11:31:18 AM (26 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
changelog (modified) (1 diff)
-
src/user32/caret.cpp (modified) (2 diffs)
-
src/user32/pmwindow.cpp (modified) (4 diffs)
-
src/user32/timer.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/changelog
r1092 r1094 1 /* $Id: changelog,v 1.258 1999-09-29 09:15:59 sandervl Exp $ */ 1 /* $Id: changelog,v 1.259 1999-09-29 09:31:17 dengert Exp $ */ 2 3 99-09-29: Daniela Engert <dani@ngrt.de> 4 - USER32: improved timer handling for caret blinking. 5 recreate carets on focus change if needed. 2 6 3 7 99-09-29: Sander van Leeuwen <sandervl@xs4all.nl> 4 8 - USER32: Almost completed standard window scrollbars. 5 Fixed WM_ACTIVATE message, generate WM_ACTIVATEAPP message 6 when WM_ACTIVATE is received. (instead of WM_SETFOCUS) 7 NOTE: Still not working correctly. Too many WM_ACTIVATEAPP msgs generated. 8 Always send Odin window handles from pmwindow.cpp to win32wbase.cpp. 9 Send WM_CHILDACTIVATE msg to MDI child windows. 10 11 99-09-28: Daniela Engert <dani@ngrt.de> 12 - USER32: CreateCaret fixed 9 Fixed WM_ACTIVATE message, generate WM_ACTIVATEAPP message 10 when WM_ACTIVATE is received. (instead of WM_SETFOCUS) 11 NOTE: Still not working correctly. Too many WM_ACTIVATEAPP msgs generated. 12 Always send Odin window handles from pmwindow.cpp to win32wbase.cpp. 13 Send WM_CHILDACTIVATE msg to MDI child windows. 13 14 14 15 99-09-28: Christoph Bratschi <cbratschi@datacomm.ch> -
trunk/src/user32/caret.cpp
r1088 r1094 1 /* $Id: caret.cpp,v 1. 3 1999-09-28 18:31:24dengert Exp $ */1 /* $Id: caret.cpp,v 1.4 1999-09-29 09:31:18 dengert Exp $ */ 2 2 3 3 /* … … 262 262 CURSORINFO cursorInfo; 263 263 264 if ((hwnd Caret == hwndFocus) &&264 if ((hwndFocus != 0) && (hwndCaret == hwndFocus) && 265 265 !WinQueryCursorInfo (HWND_DESKTOP, &cursorInfo)) 266 266 { 267 dprintf(("recreateCaret for %x", hwndFocus)); 268 267 269 CreateCaret (hwndCaret, hbmCaret, CaretWidth, CaretHeight); 268 270 SetCaretPos (CaretPosX, CaretPosY); -
trunk/src/user32/pmwindow.cpp
r1093 r1094 1 /* $Id: pmwindow.cpp,v 1.1 2 1999-09-29 09:16:31 sandervlExp $ */1 /* $Id: pmwindow.cpp,v 1.13 1999-09-29 09:31:18 dengert Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 30 30 #include <thread.h> 31 31 #include <wprocess.h> 32 #include <caret.h> 32 33 33 34 HMQ hmq = 0; /* Message queue handle */ … … 413 414 } 414 415 if((ULONG)mp2 == TRUE) { 415 rc = win32wnd->MsgSetFocus(Win32BaseWindow::OS2ToWin32Handle(hwndFocus)); 416 HWND hwndFocusWin32 = Win32BaseWindow::OS2ToWin32Handle(hwndFocus); 417 recreateCaret (hwndFocusWin32); 418 rc = win32wnd->MsgSetFocus(hwndFocusWin32); 416 419 } 417 420 else rc = win32wnd->MsgKillFocus(Win32BaseWindow::OS2ToWin32Handle(hwndFocus)); … … 748 751 749 752 case WM_TIMER: 750 win32wnd->MsgTimer((ULONG)mp1);753 if (mp2) win32wnd->MsgTimer((ULONG)mp1); 751 754 goto RunDefWndProc; 752 755 -
trunk/src/user32/timer.cpp
r1066 r1094 1 /* $Id: timer.cpp,v 1. 3 1999-09-26 16:09:04dengert Exp $ */1 /* $Id: timer.cpp,v 1.4 1999-09-29 09:31:18 dengert Exp $ */ 2 2 3 3 /* … … 74 74 75 75 if (i == NB_TIMERS) /* no matching timer found */ 76 return ( TRUE); /* eatmessage */76 return (FALSE); /* forward message */ 77 77 78 78 pMsg->mp1 = MPFROMLONG (pTimer->id); 79 pMsg->mp2 = MPFROMLONG (TRUE); /* mark for Win32 */ 79 80 if (!pTimer->proc) 80 81 return (FALSE); /* forward message */
Note:
See TracChangeset
for help on using the changeset viewer.
