2.2.2.4.8.2 SWLWINATTRIBUTES

The SWLWINATTRIBUTES structure describes a window.


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

winId

Extra

ownerWinID

Flags

Position

...

winId (4 bytes): MUST be set to the identifier of this window. If the window is not shared, this field MUST be set to 0x00000000.

Extra (4 bytes): If the flags field contains the value SWL_FLAG_WINDOW_HOSTED, this field MUST be set to the identifier of the thread that created the window. If the flags field does not contain SWL_FLAG_WINDOW_HOSTED, this field MUST be set to 0x00000000.

ownerWinID (4 bytes): MUST be set to the identifier of the window that is closest to the desktop in the parent chain of this window.

Flags (4 bytes): A 32-bit bitmap of the following flags.


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

0

0

0

0

0

0

0

0

0

0

0

0

0

A

0

B

0

0

0

0

0

0

0

0

0

0

C

0

0

D

E

F

Where the bits are defined as:

Value

Description

A

SWL_FLAG_WINDOW_MINIMIZED

The window is minimized.

B

SWL_FLAG_WINDOW_TAGGABLE

Set for compatibility with Microsoft NetMeeting 2.x clients. This flag SHOULD be set if the window is shared and has either the WS_EX_APPWINDOW or WS_CAPTION styles.

C

SWL_FLAG_WINDOW_HOSTED

If set, the window is shared. If not set, the window is obscuring another window.

D

SWL_FLAG_WINDOW_TOPMOST

Set for compatibility with NetMeeting 2.x clients. This flag SHOULD be set if the window has the style WS_EX_TOPMOST but not the style WS_EX_TRANSPARENT.

E

SWL_FLAG_WINDOW_TASKBAR

Indicates that the window title is displayed on the taskbar and the window is shared.

F

SWL_FLAG_WINDOW_NONRECTANGLE

Indicates that the window does not have a rectangular shape. The shape is contained in the nonRectInfo field of the Shared Window List.

Bits marked 0 MUST be 0.

Position (8 bytes): A TSHR_RECT16 structure that specifies the left, top, right, and lower edges of the region, in order.