2.2.7.37 MILCMD_WINDOWNODE_SETBOUNDS

The MILCMD_WINDOWNODE_SETBOUNDS packet updates the window, client, and content rectangle properties for a window node.


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

messageSize

controlCode

targetResource

rcWindow (16 bytes)

...

...

rcClient (16 bytes)

...

...

rcContent (16 bytes)

...

...

messageSize (4 bytes): A 32-bit unsigned integer. The size of this message in bytes. The value of this field MUST be set to 0x0000003C.

controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x0000002E.

targetResource (4 bytes): A 32-bit unsigned integer. The value of this field MUST be set to a valid resource handle referencing a resource of type TYPE_WINDOWNODE. This handle identifies the resource that is the target for this message.

rcWindow (16 bytes): A MilRectI structure. The bounding rectangle of the window associated with this window node, including the non-client area.

rcClient (16 bytes): A MilRectI structure. The bounding rectangle of the client area of the window associated with this window node.

rcContent (16 bytes): A MilRectI structure. The rectangle containing the client area as well as the menu bar and scroll bars of the window associated with this window node.