Jump to content

SpSetWindowText

From EDM2
Revision as of 23:54, 26 February 2017 by Ak120 (talk | contribs) (Ak120 moved page OS2 API:SPUTILS:spSetWindowText to SpSetWindowText)

This function sets the window text for a specified window.

Syntax: success = spSetWindowText ( hwnd , text )

Parameters:

  • hwnd – Window handle of window control which text has to be updated
  • text – The text to be set.

Returns:

  • True (1) – Text updated.
  • False (0) – Error occurred.