Jump to content

SpSetWindowText: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
 
Line 11: Line 11:
* False (0) – Error occurred.
* False (0) – Error occurred.


[[Category:The OS/2 API Project]]
[[Category:SpUtils]]

Latest revision as of 23:54, 26 February 2017

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.