Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - setwindowtext() changes the caption of a window http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SetWindowText()        Changes the caption of a Window
--------------------------------------------------------------------------------

   Syntax:              SetWindowText( <hWnd>, <cText> )  --> nil


   Parameters:

   <hWnd>               Identifies the window or the control whose
                        text is to be set.

   <cText>              The text to be set as new window text.

   Returns:             nil

   Observations:        This function causes a WM_SETTEXT message to be
                        sent to the given window or control.

                        If the window specified by the hwnd parameter is a
                        control, the text within the control is set. If the
                        specified window is a list-box control created with
                        WS_CAPTION style, however, SetWindowText will set
                        the caption for the control, not for the list-box
                        entries.

   Sample:              Class TWindow METHOD SetText()

   Source code:         SOURCE\\WINAPI\\SetText.c

   See also:            GetWindowText()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson