cwbUN_UpdateStatusBar

Purpose

Inserts a text string into the status bar of the iSeries™ Navigator window.

Syntax

CWBAPI unsigned int WINAPI cwbUN_UpdateStatusBar(
    const char * pszStatusText
    );

Parameters

const char * pszStatusText - input
A null-terminated string to be placed in the status bar window on completion.

Return Codes

The following list shows common return values:

CWB_OK
Successful completion.
CWBUN_WINDOW_NOTAVAIL
Could not find status bar window.

Usage

Use this function to inform the user that an action that was requested by clicking the OK button on a dialog has completed successfully.