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

  This function sets the text associated with a window. WinSetText()
merely sends a WM_SETTEXT message to the window. If the window is a
normal window, then it sets the window title. If the window is an
edit field, it sets the contents of the edit buffer.

Parameters
  hWnd is the handle of the window to query.
  text is a pointer to a null-terminated string which will be the text
   of the window.

Returns
  TRUE if everything went well, FALSE if the handle was invalid.

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