Set Parts - Status Bar SENDMSG() Function 27

Syntax

TF$=SENDMSG(sysgui,id,27,int,string${,context{,ERR=lineref}})

Description

For BBj-specific documentation, see Set Parts - Status Bar SENDMSG() Function 27 - BBj.

This function sets the right edge of the segments specified in the string$ string. Use this function to set the number of segments in the status bar.

Parameter

Description

sysgui

SYSGUI channel.

id

Status bar control ID.

27

Number of this SENDMSG() function.

int

Always 0.

string$

Formatted string, as returned from Get Parts - Status Bar SENDMSG() Function 26. Each pair of bytes represents the location of the right edge of the corresponding segment within the status bar control. A segment with a right edge value of $FFFF$ will set the right edge to edge of the status window.

The returned string indicates the success or failure of the operation: $01$ indicates success, while $00$ indicates failure.