Changeset 1094 for trunk/src/user32
- Timestamp:
- Sep 29, 1999, 11:31:18 AM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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.