Jump to content

SpSetWindowText: Difference between revisions

From EDM2
Created page with "This function sets the window text for a specified window. '''Syntax:''' success = spSetWindowText ( hwnd , text ) '''Parameters:''' * hwnd – Window handle of window cont..."
 
No edit summary
Line 10: Line 10:
* True (1) – Text updated.
* True (1) – Text updated.
* False (0) – Error occurred.
* False (0) – Error occurred.
[[Category:The OS/2 API Project]]

Revision as of 03:53, 6 April 2015

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.