ReactOS 0.4.16-dev-823-g9a093ec
|
#include <user32.h>
Go to the source code of this file.
Macros | |
#define | DIALOG_MARGIN 8 |
#define | CX_ICON 32 |
#define | CY_ICON 32 |
#define | ICON_MARGIN 4 |
#define | CX_ITEM (CX_ICON + 2 * ICON_MARGIN) |
#define | CY_ITEM (CY_ICON + 2 * ICON_MARGIN) |
#define | ITEM_MARGIN 4 |
#define | CX_ITEM_SPACE (CX_ITEM + 2 * ITEM_MARGIN) |
#define | CY_ITEM_SPACE (CY_ITEM + 2 * ITEM_MARGIN) |
#define | CY_TEXT_MARGIN 4 |
#define | MAX_WINDOWS 120 |
#define | ICON_TIMEOUT 100 |
Variables | |
HWND | switchdialog = NULL |
HFONT | dialogFont |
int | selectedWindow = 0 |
BOOL | isOpen = FALSE |
int | fontHeight =0 |
WCHAR | windowText [1024] |
HWND | windowList [MAX_WINDOWS] |
HICON | iconList [MAX_WINDOWS] |
int | windowCount = 0 |
int | cxBorder |
int | cyBorder |
int | nItems |
int | nCols |
int | nRows |
int | itemsW |
int | itemsH |
int | totalW |
int | totalH |
int | xOffset |
int | yOffset |
POINT | ptStart |
int | nShift = 0 |
BOOL | Esc = FALSE |
BOOL | CoolSwitch = TRUE |
int | CoolSwitchRows = 3 |
int | CoolSwitchColumns = 7 |
const DWORD | Style = WS_POPUP | WS_BORDER | WS_DISABLED |
const DWORD | ExStyle = WS_EX_TOPMOST | WS_EX_DLGMODALFRAME | WS_EX_TOOLWINDOW |
#define CX_ICON 32 |
Definition at line 24 of file appswitch.c.
#define CX_ITEM (CX_ICON + 2 * ICON_MARGIN) |
Definition at line 28 of file appswitch.c.
#define CX_ITEM_SPACE (CX_ITEM + 2 * ITEM_MARGIN) |
Definition at line 32 of file appswitch.c.
#define CY_ICON 32 |
Definition at line 25 of file appswitch.c.
#define CY_ITEM (CY_ICON + 2 * ICON_MARGIN) |
Definition at line 29 of file appswitch.c.
#define CY_ITEM_SPACE (CY_ITEM + 2 * ITEM_MARGIN) |
Definition at line 33 of file appswitch.c.
#define CY_TEXT_MARGIN 4 |
Definition at line 35 of file appswitch.c.
#define DIALOG_MARGIN 8 |
Definition at line 22 of file appswitch.c.
#define ICON_MARGIN 4 |
Definition at line 26 of file appswitch.c.
#define ICON_TIMEOUT 100 |
#define ITEM_MARGIN 4 |
Definition at line 30 of file appswitch.c.
#define MAX_WINDOWS 120 |
Definition at line 39 of file appswitch.c.
Definition at line 113 of file appswitch.c.
Referenced by DoAppSwitch(), ProcessMouseMessage(), and SwitchWndProc_common().
Definition at line 397 of file appswitch.c.
Referenced by ProcessHotKey().
Definition at line 572 of file appswitch.c.
Referenced by DoAppSwitch(), and SwitchWndProc_common().
Definition at line 584 of file appswitch.c.
Referenced by DefWndHandleSysCommand().
Definition at line 144 of file appswitch.c.
Referenced by EnumWindowsProc().
Definition at line 267 of file appswitch.c.
Referenced by DoAppSwitch(), and ProcessHotKey().
Definition at line 418 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 191 of file appswitch.c.
Referenced by IsAltTabWindow().
Definition at line 217 of file appswitch.c.
Referenced by EnumWindowsProc().
Definition at line 74 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 556 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 541 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 304 of file appswitch.c.
Referenced by SwitchWndProc_common().
Definition at line 433 of file appswitch.c.
Referenced by SwitchWndProc_common().
Definition at line 455 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 277 of file appswitch.c.
Referenced by DoAppSwitch(), and SwitchWndProc_common().
Definition at line 89 of file appswitch.c.
Referenced by PrepareWindow().
Definition at line 490 of file appswitch.c.
Referenced by DoAppSwitch().
LRESULT WINAPI SwitchWndProc_common | ( | HWND | hWnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
BOOL | unicode | ||
) |
Definition at line 747 of file appswitch.c.
Referenced by SwitchWndProcA(), and SwitchWndProcW().
Definition at line 820 of file appswitch.c.
Referenced by RegisterClientPFN().
Definition at line 825 of file appswitch.c.
Referenced by RegisterClientPFN().
WINE_DEFAULT_DEBUG_CHANNEL | ( | user32 | ) |
Definition at line 66 of file appswitch.c.
Referenced by DoAppSwitch(), and LoadCoolSwitchSettings().
int CoolSwitchColumns = 7 |
Definition at line 68 of file appswitch.c.
Referenced by LoadCoolSwitchSettings(), OnPaint(), and PrepareWindow().
int CoolSwitchRows = 3 |
Definition at line 67 of file appswitch.c.
Referenced by LoadCoolSwitchSettings(), and PrepareWindow().
int cxBorder |
Definition at line 55 of file appswitch.c.
Referenced by C1_DrawDragBorder(), and T1_DrawDragBorder().
int cyBorder |
Definition at line 55 of file appswitch.c.
Referenced by C1_DrawDragBorder(), and T1_DrawDragBorder().
HFONT dialogFont |
Definition at line 43 of file appswitch.c.
Referenced by GetDialogFont(), and OnPaint().
Definition at line 64 of file appswitch.c.
Referenced by DoAppSwitch(), and RotateTasks().
const DWORD ExStyle = WS_EX_TOPMOST | WS_EX_DLGMODALFRAME | WS_EX_TOOLWINDOW |
Definition at line 72 of file appswitch.c.
Referenced by CStubWindow32::CreateStub(), DefWndDoSizeMove(), EDIT_SetRectNP(), GetNCHitEx(), GetNiceRootOwner(), anonymous_namespace{settingsdlg.cpp}::HandleGeneralListItems(), ImmCreateSoftKeyboard(), IntCheckFrameEdge(), IntGetWindowBorders(), IsAltTabWindow(), IsWindowActive(), NC_DoNCPaint(), NC_DrawFrame(), NC_GetInsideRect(), ResizeAndCenter(), UserDrawCaptionBar(), UserDrawCaptionButton(), UserGetWindowBorders(), and UserHasWindowEdge().
int fontHeight =0 |
Definition at line 47 of file appswitch.c.
Referenced by add_font(), GetDialogFont(), PrepareWindow(), and realize_font().
HICON iconList[MAX_WINDOWS] |
Definition at line 52 of file appswitch.c.
Referenced by DestroyAppWindows(), EnumerateCallback(), and OnPaint().
Definition at line 45 of file appswitch.c.
Referenced by CompleteSwitch(), CreateSwitcherWindow(), ProcessHotKey(), and SwitchWndProc_common().
int itemsH |
Definition at line 57 of file appswitch.c.
Referenced by OnPaint(), and PrepareWindow().
int itemsW |
Definition at line 57 of file appswitch.c.
Referenced by OnPaint(), and PrepareWindow().
int nCols |
Definition at line 56 of file appswitch.c.
Referenced by HelpCmd(), MoveDown(), MoveUp(), OnPaint(), PrepareWindow(), ProcessMouseMessage(), and SwitchWndProc_common().
int nItems |
Definition at line 56 of file appswitch.c.
Referenced by _test_items_ok(), BIDI_Reorder(), CBDropDown(), EnumEventsThread(), EventDetailsCtrl(), LISTVIEW_SetItemCount(), MDI_AugmentFrameMenu(), MDI_RestoreFrameMenu(), MSVCRTEX_eh_vector_constructor_iterator(), MSVCRTEX_eh_vector_destructor_iterator(), OLEMenu_FindMainMenuIndex(), OnPaint(), PrepareWindow(), SwitchWndProc_common(), and test_ScriptItemize().
int nRows |
Definition at line 56 of file appswitch.c.
Referenced by HelpCmd(), MoveDown(), MoveUp(), PrepareWindow(), ProcessMouseMessage(), rbsize_init(), SwitchWndProc_common(), test_setrows(), and TOOLBAR_LayoutToolbar().
int nShift = 0 |
Definition at line 62 of file appswitch.c.
Referenced by OnPaint(), and SwitchWndProc_common().
POINT ptStart |
Definition at line 60 of file appswitch.c.
Referenced by AviMuxIn_AMStreamControl_StartAt(), ResizeAndCenter(), SwitchWndProc_common(), and test_CPoint().
int selectedWindow = 0 |
Definition at line 44 of file appswitch.c.
Referenced by CompleteSwitch(), DoAppSwitch(), MoveDown(), MoveLeft(), MoveRight(), MoveUp(), OnPaint(), ProcessHotKey(), ProcessMouseMessage(), and SwitchWndProc_common().
const DWORD Style = WS_POPUP | WS_BORDER | WS_DISABLED |
Definition at line 71 of file appswitch.c.
Referenced by co_IntSetWindowLongPtr(), CreatePushButton(), CStubWindow32::CreateStub(), DefWndDoSizeMove(), DefWndStartSizeMove(), DisplayParameter(), GetNCHitEx(), ImmCreateSoftKeyboard(), IntCheckFrameEdge(), IntDefWindowProc(), IntGetWindowBorders(), MultiWndProc(), NC_DoButton(), NC_DoNCPaint(), NC_DrawFrame(), NC_GetInsideRect(), NC_HandleNCCalcSize(), NC_HandleNCLButtonDblClk(), ResizeAndCenter(), SetListViewStyle(), ThemeHandleButton(), tt_face_load_pclt(), UserDrawCaptionBar(), UserDrawCaptionButton(), UserGetWindowBorders(), UserHasWindowEdge(), WinPosDoOwnedPopups(), WTSSendMessageA(), and WTSSendMessageW().
Definition at line 42 of file appswitch.c.
Referenced by CompleteSwitch(), CreateSwitcherWindow(), DoAppSwitch(), MoveDown(), MoveLeft(), MoveRight(), MoveUp(), PrepareWindow(), ProcessHotKey(), and ProcessMouseMessage().
int totalH |
Definition at line 58 of file appswitch.c.
Referenced by OnPaint(), and PrepareWindow().
int totalW |
Definition at line 58 of file appswitch.c.
Referenced by OnPaint(), and PrepareWindow().
int windowCount = 0 |
Definition at line 53 of file appswitch.c.
Referenced by CompleteSwitch(), DestroyAppWindows(), DoAppSwitch(), EnumerateCallback(), MoveDown(), MoveLeft(), MoveRight(), MoveUp(), PrepareWindow(), ProcessHotKey(), and RotateTasks().
HWND windowList[MAX_WINDOWS] |
Definition at line 51 of file appswitch.c.
Referenced by CompleteSwitch(), EnumerateCallback(), OnPaint(), ProcessHotKey(), and RotateTasks().
WCHAR windowText[1024] |
Definition at line 49 of file appswitch.c.
Referenced by CTaskSwitchWnd::AddTaskItemButton(), CompleteSwitch(), OnPaint(), and CTaskSwitchWnd::UpdateTaskItemButton().
int xOffset |
Definition at line 59 of file appswitch.c.
Referenced by cf2_glyphpath_lineTo(), FT_Outline_Translate(), NtGdiOffsetClipRgn(), CPoint::Offset(), PATH_Ellipse(), and PATH_RoundRect().
int yOffset |
Definition at line 59 of file appswitch.c.
Referenced by cf2_glyphpath_lineTo(), confirm_msg_move_button(), ConfirmMsgBox_Init(), draw_text_with_style(), FT_Outline_Translate(), ME_ApplyStyle(), NtGdiOffsetClipRgn(), CPoint::Offset(), PATH_Ellipse(), and PATH_RoundRect().