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


 PARAMETER:

  <hWnd>        Is the handle that identifies the target window


 RETURNS:

  <cText> is the text associated with that window, which is normally the
  window's title. If the given window is a control, then the text within the 
  control is returned. An empty string is returned, if the window has no 
  title bar, the title bar is empty, or the <hwnd> parameter is invalid. 


 DESCRIPTION:

  GetWindowText returns the text of the given window's title bar (if it has 
  one), or the caption of a control. This function causes a WM_GETTEXT 
  message to be sent to the given window or control. 
  

 SOURCE:

  SOURCE\WINAPI\GETTEXT.C



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