[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  ShowCaret( <hWnd> ) -> nil
------------------------------------------------------------------------------


 PARAMETER:

  <hWnd> is the handle that identifies the owner window of the caret. This
         parameter can be set to NULL to indirectly specify the window in 
         the current task that owns the caret. 


 RETURNS:

  <lSuccess> is TRUE if the function is successful


 DESCRIPTION:

  The ShowCaret function shows the caret on the screen at the caret's
  current position. Once shown, the caret begins flashing automatically. 
  This function shows the caret only if it has a current shape and has not
  been hidden two or more times consecutively. If the given window does not
  own the caret, the caret is not shown. If <hwnd> is NULL, the caret
  is shown only if it is owned by a window in the current task. 

  Hiding the caret is cumulative. If HideCaret() has been called five
  times consecutively, ShowCaret() must be called five times to show the
  caret. 
  The caret is a shared resource. A window should show the caret only when
  it has the input focus or is active. 


 SOURCE:  

  SOURCE\WINAPI\CART.C



See Also: CreateCaret HideCaret GetActiveWindow
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson