5-10
InView Control and InView Control API
InViewCtrl Methods
DownloadMessage
User's Manual 0300277-02 Rev. C
Properties
Description
Syntax
HRESULT DownloadMessage(
short nMessageNumber,
short nPriority,
short nPosition,
short nMode,
short nSpeed,
short nFont,
short nColor,
BSTR bstrBody)
Parameters
nMessageNumber
The number of the message slot in the display to receive the message.
nPriority
The priority assigned to the message.
0 - Low
1 - Medium
2 - High
nPosition
The position on the display where the message will run.
0 - Fill
1 - Top
2 - Bottom
3 - Middle
nMode
The presentation mode of the running message.
0 - Rotate
1 - Hold
nSpeed
The pause time between transitions of screens of the message.
0 - 0 Second
1 - 1 Second
2 - 2 Second
3 - 3 Second
4 - 4 Second
5 - 5 Second
nFont
The font used to display the message text.
0 - Five high
1 - Seven high
2 - Seven high fancy
3 - Ten high
4 - Sixteen high fancy
5 - Sixteen high
6 - Twenty-four/Thirty-two high
7 - Twenty-four/Thirty-two high fancy
nColor
The color used to display the message text.
0 - Red
1 - Green
2 - Yellow
bstrBody
The actual text of the message displayed. The length of the text and
attributes cannot exceed the PartitionSize.
Return Value
S_OK - Success
E_FAIL - Failure
Need help?
Do you have a question about the Spectrum Controls 2706-P22-SC and is the answer not in the manual?