[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
int pascal GetWindowText(HWND hWnd, char *text, int maxlen)
 <MS-WINDOWS equivalent>

  This function retrieves the text associated with a window.
WinGetText() merely sends a WM_GETTEXT message to the window.

Parameters
  hWnd is the handle of the window to query.
  text is a pointer to a user-supplied buffer which will store the text.
  maxlen is the maximum number of characters to copy.

Returns
  The number of bytes actually copied.

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