Ignore:
Timestamp:
Sep 29, 1999, 11:31:18 AM (26 years ago)
Author:
dengert
Message:

caret blinking and recreation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/caret.cpp

    r1088 r1094  
    1 /* $Id: caret.cpp,v 1.3 1999-09-28 18:31:24 dengert Exp $ */
     1/* $Id: caret.cpp,v 1.4 1999-09-29 09:31:18 dengert Exp $ */
    22
    33/*
     
    262262   CURSORINFO cursorInfo;
    263263
    264    if ((hwndCaret == hwndFocus) &&
     264   if ((hwndFocus != 0) && (hwndCaret == hwndFocus) &&
    265265       !WinQueryCursorInfo (HWND_DESKTOP, &cursorInfo))
    266266   {
     267      dprintf(("recreateCaret for %x", hwndFocus));
     268
    267269      CreateCaret (hwndCaret, hbmCaret, CaretWidth, CaretHeight);
    268270      SetCaretPos (CaretPosX, CaretPosY);
Note: See TracChangeset for help on using the changeset viewer.