Compartilhar via


2.2.2.9.1 Language Bar Information PDU (TS_RAIL_ORDER_LANGBARINFO)

The Language Bar Information PDU is used to set the language bar status. It is sent from a client to a server or a server to a client, but only when both support the Language Bar docking capability (TS_RAIL_LEVEL_DOCKED_LANGBAR_SUPPORTED). This PDU contains information about the language bar status.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Hdr

LanguageBarStatus

Hdr (4 bytes): A TS_RAIL_PDU_HEADER (section 2.2.2.1) header. The orderType field of the header MUST be set to TS_RAIL_ORDER_LANGBARINFO (0x000D).

LanguageBarStatus (4 bytes): An unsigned 32-bit integer. The possible values are indicated in the table below. The server sends the LanguageBarStatus it retrieves from the local language bar:

Value

Meaning

TF_SFT_SHOWNORMAL

0x00000001

Display the language bar as a floating window. This constant cannot be combined with the TF_SFT_DOCK, TF_SFT_MINIMIZED, TF_SFT_HIDDEN, or TF_SFT_DESKBAND constants.

TF_SFT_DOCK

0x00000002

Dock the language bar in its own task pane. This constant cannot be combined with the TF_SFT_SHOWNORMAL, TF_SFT_MINIMIZED, TF_SFT_HIDDEN, or TF_SFT_DESKBAND constants.<20>

TF_SFT_MINIMIZED

0x00000004

Display the language bar as a single icon in the system tray. This constant cannot be combined with the TF_SFT_SHOWNORMAL, TF_SFT_DOCK, TF_SFT_HIDDEN, or TF_SFT_DESKBAND constants.

TF_SFT_HIDDEN

0x00000008

Hide the language bar. This constant cannot be combined with the TF_SFT_SHOWNORMAL, TF_SFT_DOCK, TF_SFT_MINIMIZED, or TF_SFT_DESKBAND constants.

TF_SFT_NOTRANSPARENCY

0x00000010

Make the language bar opaque.

TF_SFT_LOWTRANSPARENCY

0x00000020

Make the language bar partially transparent.<21>

TF_SFT_HIGHTRANSPARENCY

0x00000040

Make the language bar highly transparent.<22>

TF_SFT_LABELS

0x00000080

Display text labels next to language bar icons.

TF_SFT_NOLABELS

0x00000100

Hide language bar icon text labels.

TF_SFT_EXTRAICONSONMINIMIZED

0x00000200

Display text service icons on the taskbar when the language bar is minimized.

TF_SFT_NOEXTRAICONSONMINIMIZED

0x00000400

Hide text service icons on the taskbar when the language bar is minimized.

TF_SFT_DESKBAND

0x00000800

Dock the language bar in the system task bar. This constant cannot be combined with the TF_SFT_SHOWNORMAL, TF_SFT_DOCK, TF_SFT_MINIMIZED, or TF_SFT_HIDDEN constants.<23>