Partager via


2.2.2.6.4 Client Notify Event PDU (TS_RAIL_ORDER_NOTIFY_EVENT)

The Client Notify Event PDU packet is sent from a client to a server when a local RAIL Notification Icon on the client receives a keyboard or mouse message from the user. This notification is forwarded to the server via the Notify Event PDU.


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

WindowId

NotifyIconId

Message

Hdr (4 bytes): A TS_RAIL_PDU_HEADER header. The orderType field of the header MUST be set to TS_RAIL_ORDER_NOTIFY_EVENT (0x0006).

WindowId (4 bytes): An unsigned 32-bit integer. The ID of the associated window on the server that owns the notification icon being specified in the PDU.

NotifyIconId (4 bytes): An unsigned 32-bit integer. The ID of the associated notification icon on the server that SHOULD receive the keyboard or mouse interaction.

Message (4 bytes): An unsigned 32-bit integer. The message being sent to the notification icon on the server.

Value

Meaning

WM_LBUTTONDOWN

0x00000201

The user pressed the left mouse button in the client area of the notification icon.

WM_LBUTTONUP

0x00000202

The user released the left mouse button while the cursor was in the client area of the notification icon.

WM_RBUTTONDOWN

0x00000204

The user pressed the right mouse button in the client area of the notification icon.

WM_RBUTTONUP

0x00000205

The user released the right mouse button while the cursor was in the client area of the notification icon.

WM_CONTEXTMENU

0x0000007B

The user selected a notification icon’s shortcut menu with the keyboard. This message is sent only for notification icons that follow Windows 2000 operating system behavior (see Version field in section 2.2.1.3.2.2.1).

WM_LBUTTONDBLCLK

0x00000203

The user double-clicked the left mouse button in the client area of the notification icon.

WM_RBUTTONDBLCLK

0x00000206

The user double-clicked the right mouse button in the client area of the notification icon.

NIN_SELECT

0x00000400

The user selected a notification icon with the mouse and activated it with the ENTER key. This message is sent only for notification icons that follow Windows 2000 behavior (see Version field in section 2.2.1.3.2.2.1).

NIN_KEYSELECT

0x00000401

The user selected a notification icon with the keyboard and activated it with the SPACEBAR or ENTER key. This message is sent only for notification icons that follow Windows 2000 behavior (see Version field in section 2.2.1.3.2.2.1).

NIN_BALLOONSHOW

0x00000402

The user passed the mouse pointer over an icon with which a balloon tooltip is associated (see InfoTip field in section 2.2.1.3.2.2.1), and the balloon tooltip was shown. This message is sent only for notification icons that follow Windows 2000 behavior (see Version field in section 2.2.1.3.2.2.1).

NIN_BALLOONHIDE

0x00000403

The icon's balloon tooltip disappeared because, for example, the icon was deleted. This message is not sent if the balloon is dismissed because of a timeout or mouse click by the user. This message is sent only for notification icons that follow Windows 2000 behavior (see Version field in section 2.2.1.3.2.2.1).

NIN_BALLOONTIMEOUT

0x00000404

The icon's balloon tooltip was dismissed because of a timeout. This message is sent only for notification icons that follow Windows 2000 behavior (see Version field in section 2.2.1.3.2.2.1).

NIN_BALLOONUSERCLICK

0x00000405

User dismissed the balloon by clicking the mouse. This message is sent only for notification icons that follow Windows 2000 behavior (see Version field in section 2.2.1.3.2.2.1).