void SetWindowText(hWnd,lpString)
This function sets the given window's caption title (if one exists) to the string pointed to by the lpString parameter. If the hWnd parameter is a handle to a control, the SetWindowText function sets the text within the control instead of within the caption.
| Parameter | Type/Description | 
| hWnd | HWND Identifies the window or control whose text is to be changed. | |
| lpString | LPSTR Points to a null-terminated character string. | 
None.