WinXStatus_GetText$


statusText$ = WinXStatus_GetText$ (hWnd, part)

Gets the text out of a status bar.

Parameter Description
hWnd The handle to the window that contains the status bar
part The 0 based index to the part to get the text for

Returns

The text from the status bar or the empty string on fail

Remarks

part is 0 based.

Examples

'Get the text out of part 0 of the status bar
text$ = WinXStatus_GetText$ (#hMain, 0)

Related Links

WinXAddStatusBar
WinXStatus_SetText