Jump to content

WinSetTitleAndIcon

From EDM2
Revision as of 05:22, 8 April 2015 by Martini (talk | contribs) (Created page with "==Prototype:== APIRET16 APIENTRY16 WinSetTitleAndIcon ( PSZ szTitle, PSZ szIconPath ) ; ==Linkage Definition:== IMPORTS WinSetTitleAndIcon = PMSHAPI.97 ==Parameters:== ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Prototype:

APIRET16 APIENTRY16 WinSetTitleAndIcon ( PSZ szTitle, PSZ szIconPath ) ;

Linkage Definition:

IMPORTS WinSetTitleAndIcon = PMSHAPI.97

Parameters:

PSZ szTitle New window title text. 
PSZ szIconPath New window icon file name (full path). 

Comments:

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

Example Code: