◄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 ♦