Jump to content

STATUSDATA: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== STATUSDATA ==
Status data.
Status data.


=== Type ===  
=== Type ===  
 
  [[USHORT]]  usLength
  [[OS2 API:DataType:USHORT|USHORT]]  usLength
  USHORT  usSelectInd
  [[OS2 API:DataType:USHORT|USHORT]] usSelectInd
  USHORT  usBondInd
  [[OS2 API:DataType:USHORT|USHORT]] usBondInd


==== C Declaration Method ====
==== C Declaration Method ====
typedef struct
typedef struct


=== Fields ===
=== Fields ===
;usLength:The length of the data structure, in bytes, including Length itself.
;usSelectInd:An indicator that specifies whether the target session should be flagged as selectable or non-selectable.
:Possible values are shown in the following list:
::0  SET_SESSION_UNCHANGED - Leaves the current setting unchanged.
::1  SET_SESSION_SELECTABLE - Makes the target session selectable.
::2  SET_SESSION_NON_SELECTABLE - Makes the target session non-selectable. A non-selectable session is not selectable from the Shell switch list, nor can the user jump to it via the system hot key. The operator may continue to select a non-selectable windowed session by pressing a mouse button within a visible part of the window.
;usBondInd:An indicator that specifies which session to bring to the foreground the next time the parent session is selected.
:Possible values are shown in the following list:
::0  SET_SESSION_UNCHANGED - Leaves the current setting unchanged.
::1  SET_SESSION_BOND - Establishes a bond between the parent session and the child session. The child session is brought to the foreground the next time the parent session is selected. If the child session is selected, the child session is brought to the foreground.
::2  SET_SESSION_NO_BOND - Specifies bringing the parent session to the foreground the next time the parent session is selected, and bringing the child session to the foreground if the child is selected. Any bond previously established with the child session specified is broken.


usLength    The length of the data structure, in bytes, including Length
==PSTATUSDATA==
              itself.
Pointer to STATUSDATA
 
usSelectInd  An indicator that specifies whether the target session should be
              flagged as selectable or non-selectable.
              Possible values are shown in the following list:
 
              0  SET_SESSION_UNCHANGED
                Leaves the current setting unchanged.
              1  SET_SESSION_SELECTABLE
                Makes the target session selectable.
              2  SET_SESSION_NON_SELECTABLE
                Makes the target session non-selectable. A non-selectable
                session is not selectable from the Shell switch list, nor can
                the user jump to it via the system hot key. The operator may
                continue to select a non-selectable windowed session by
                pressing a mouse button within a visible part of the window.
 
usBondInd    An indicator that specifies which session to bring to the
              foreground the next time the parent session is selected.
              Possible values are shown in the following list:
 
              0  SET_SESSION_UNCHANGED
                Leaves the current setting unchanged.
              1  SET_SESSION_BOND
                Establishes a bond between the parent session and the child
                session. The child session is brought to the foreground the
                next time the parent session is selected. If the child session
                is selected, the child session is brought to the foreground.
              2  SET_SESSION_NO_BOND
                Specifies bringing the parent session to the foreground the
                next time the parent session is selected, and bringing the
                child session to the foreground if the child is selected. Any
                bond previously established with the child session specified is
                broken.
 
 
 
[[OS2_API | Back to OS/2 API]]
 


[[Category:The OS/2 API Project]]
[[Category:Data type]]

Latest revision as of 18:59, 7 November 2017

Status data.

Type

USHORT  usLength
USHORT  usSelectInd
USHORT  usBondInd

C Declaration Method

typedef struct

Fields

usLength
The length of the data structure, in bytes, including Length itself.
usSelectInd
An indicator that specifies whether the target session should be flagged as selectable or non-selectable.
Possible values are shown in the following list:
0 SET_SESSION_UNCHANGED - Leaves the current setting unchanged.
1 SET_SESSION_SELECTABLE - Makes the target session selectable.
2 SET_SESSION_NON_SELECTABLE - Makes the target session non-selectable. A non-selectable session is not selectable from the Shell switch list, nor can the user jump to it via the system hot key. The operator may continue to select a non-selectable windowed session by pressing a mouse button within a visible part of the window.
usBondInd
An indicator that specifies which session to bring to the foreground the next time the parent session is selected.
Possible values are shown in the following list:
0 SET_SESSION_UNCHANGED - Leaves the current setting unchanged.
1 SET_SESSION_BOND - Establishes a bond between the parent session and the child session. The child session is brought to the foreground the next time the parent session is selected. If the child session is selected, the child session is brought to the foreground.
2 SET_SESSION_NO_BOND - Specifies bringing the parent session to the foreground the next time the parent session is selected, and bringing the child session to the foreground if the child is selected. Any bond previously established with the child session specified is broken.

PSTATUSDATA

Pointer to STATUSDATA