msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SWCNTRL (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSWITCHLIST
 
typedef struct _SWCNTRL {    /* swctl */
    HWND     hwnd;
    HWND     hwndIcon;
    HPROGRAM hprog;
    USHORT   idProcess;
    USHORT   idSession;
    UCHAR    uchVisibility;
    UCHAR    fbJump;
    CHAR     szSwtitle[MAXNAMEL+1];
    BYTE     fReserved;
} SWCNTRL;
 
The SWCNTRL structure contains information about a program in the Task
List.
 
Field                  Description
────────────────────────────────────────────────────────────────────────────
 
hwnd                   Identifies the window handle.
 
hwndIcon               Identifies the icon handle.
 
hprog                  Identifies the program handle.
 
idProcess              Specifies the identifier of the process.
 
idSession              Specifies the identifier of the session.
 
uchVisibility          Specifies the visibility. This field can be one of
                       the following values:
 
                       Value          Meaning
                       ─────────────────────────────────────────────────────
                       SWL_GRAYED     Program cannot be switched to.
 
                       SWL_INVISIBLE  Title is invisible in the switch
                                      list.
 
                       SWL_VISIBLE    Title is visible in the switch list.
 
fbJump                 Specifies a jump flag. This field can be one of the
                       following values:
 
                       Value            Meaning
                       ─────────────────────────────────────────────────────
                       SWL_JUMPABLE     Title participates in jump
                                        sequence.
 
                       SWL_NOTJUMPABLE  Title does not participate in jump
                                        sequence.
 
szSwtitle[MAXNAMEL+1]  Specifies the title of the program for the Task list.
                       If the first character is zero, the program name will
                       be used for the title.
 
fReserved              This field is reserved.
 
See Also
 
WinAddSwitchEntry, WinChangeSwitchEntry, SWENTRY