Jump to content

WinSetTitle: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:WinSetTitle to WinSetTitle
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
==Prototype:==
==Prototype:==
 
APIRET16 APIENTRY16 WinSetTitle ( PSZ szTitle ) ;
APIRET16 APIENTRY16 WinSetTitle ( PSZ szTitle ) ;  


==Linkage Definition:==
==Linkage Definition:==
IMPORTS WinSetTitle = PMSHAPI.93  
IMPORTS WinSetTitle = PMSHAPI.93  


==Parameters: ==
==Parameters:==
 
PSZ szTitle New window title text.
PSZ szTitle New window title text.  


==Comments:==
==Comments:==
This function is for VIO programs, and allows them to set their containing window's title text. I have found that the Workplace Shell has a tendency to override this function.
This function is for VIO programs, and allows them to set their containing window's title text. I have found that the Workplace Shell has a tendency to override this function.


==Example Code:==  
==Example Code:==
 
* [[WinSetTitle.c - Example code]]
* [[WinSetTitle.c - Example code]]  
* [[WinSetTitle.def - Linkage definitions]]
* [[WinSetTitle.def - Linkage definitions]]  
 
 
 


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

Latest revision as of 18:18, 6 January 2023

Prototype:

APIRET16 APIENTRY16 WinSetTitle ( PSZ szTitle ) ;

Linkage Definition:

IMPORTS WinSetTitle = PMSHAPI.93

Parameters:

PSZ szTitle New window title text.

Comments:

This function is for VIO programs, and allows them to set their containing window's title text. I have found that the Workplace Shell has a tendency to override this function.

Example Code: