TE Edit Control Win32 / Win64 Help
Product page

TerPictAltInfo

Set or retrieve the alternate string for a picture.

BOOL TerPictAltInfo(hWnd, id, get, AltInfo)
HWND hWnd;Handle of the window to be accessed
int id;picture id
BOOL get;TRUE to retrieve the alternate string, FALSE to set a new alternate string.
LPBYTE AltInfo;The new alternate name string for the picture, or the pointer to receive the current string.

Comment: The alternate string is saved using the 'alt' tag when the file is saved in the HTML format.

Return Value: This function returns TRUE if successful.