ReactOS
0.4.15-dev-1623-g66cf1d2
|
#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 |
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 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 134 of file appswitch.c.
Referenced by DoAppSwitch(), ProcessMouseMessage(), and SwitchWndProc_common().
Definition at line 414 of file appswitch.c.
Referenced by ProcessHotKey().
Definition at line 589 of file appswitch.c.
Referenced by DoAppSwitch(), and SwitchWndProc_common().
Definition at line 601 of file appswitch.c.
Referenced by DefWndHandleSysCommand().
Definition at line 165 of file appswitch.c.
Referenced by EnumWindowsProc().
Definition at line 284 of file appswitch.c.
Referenced by DoAppSwitch(), and ProcessHotKey().
Definition at line 435 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 208 of file appswitch.c.
Referenced by IsAltTabWindow().
Definition at line 234 of file appswitch.c.
Referenced by EnumWindowsProc().
Definition at line 125 of file appswitch.c.
Referenced by CompleteSwitch(), ProcessHotKey(), and RotateTasks().
Definition at line 573 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 544 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 552 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 558 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 321 of file appswitch.c.
Referenced by SwitchWndProc_common().
Definition at line 472 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 294 of file appswitch.c.
Referenced by DoAppSwitch(), and SwitchWndProc_common().
Definition at line 101 of file appswitch.c.
Referenced by PrepareWindow().
Definition at line 507 of file appswitch.c.
Referenced by DoAppSwitch().
LRESULT WINAPI SwitchWndProc_common | ( | HWND | hWnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
BOOL | unicode | ||
) |
Definition at line 764 of file appswitch.c.
Referenced by SwitchWndProcA(), and SwitchWndProcW().
Definition at line 837 of file appswitch.c.
Referenced by RegisterClientPFN().
Definition at line 842 of file appswitch.c.
Referenced by RegisterClientPFN().
WINE_DEFAULT_DEBUG_CHANNEL | ( | user32 | ) |
Definition at line 74 of file appswitch.c.
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.
int cyBorder |
Definition at line 55 of file appswitch.c.
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 DefWndDoSizeMove(), EDIT_SetRectNP(), GetNCHitEx(), GetNiceRootOwner(), IntCheckFrameEdge(), IntDefWindowProc(), 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(), 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(), ME_HandleMessage(), 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(), DefWndDoSizeMove(), DefWndStartSizeMove(), DisplayParameter(), DoTimer(), GetNCHitEx(), 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(), and CPoint::Offset().
int yOffset |
Definition at line 59 of file appswitch.c.
Referenced by cf2_glyphpath_lineTo(), confirm_msg_move_button(), ConfirmMsgBox_Init(), FT_Outline_Translate(), ME_ApplyStyle(), ME_DrawTextWithStyle(), NtGdiOffsetClipRgn(), and CPoint::Offset().