ReactOS 0.4.16-dev-1305-ge26ad0d
|
#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 |
Enumerations | |
enum | { DefSwitchRows = 3 , DefSwitchColumns = 7 } |
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 = DefSwitchRows |
int | CoolSwitchColumns = DefSwitchColumns |
BOOL | SettingsLoaded = FALSE |
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 23 of file appswitch.c.
#define CX_ITEM (CX_ICON + 2 * ICON_MARGIN) |
Definition at line 27 of file appswitch.c.
#define CX_ITEM_SPACE (CX_ITEM + 2 * ITEM_MARGIN) |
Definition at line 31 of file appswitch.c.
#define CY_ICON 32 |
Definition at line 24 of file appswitch.c.
#define CY_ITEM (CY_ICON + 2 * ICON_MARGIN) |
Definition at line 28 of file appswitch.c.
#define CY_ITEM_SPACE (CY_ITEM + 2 * ITEM_MARGIN) |
Definition at line 32 of file appswitch.c.
#define CY_TEXT_MARGIN 4 |
Definition at line 34 of file appswitch.c.
#define DIALOG_MARGIN 8 |
Definition at line 21 of file appswitch.c.
#define ICON_MARGIN 4 |
Definition at line 25 of file appswitch.c.
#define ICON_TIMEOUT 100 |
#define ITEM_MARGIN 4 |
Definition at line 29 of file appswitch.c.
#define MAX_WINDOWS 120 |
Definition at line 38 of file appswitch.c.
anonymous enum |
Definition at line 155 of file appswitch.c.
Referenced by DoAppSwitch(), ProcessMouseMessage(), and SwitchWndProc_common().
Definition at line 444 of file appswitch.c.
Referenced by ProcessHotKey().
Definition at line 619 of file appswitch.c.
Referenced by DoAppSwitch(), and SwitchWndProc_common().
Definition at line 631 of file appswitch.c.
Referenced by DefWndHandleSysCommand().
Definition at line 186 of file appswitch.c.
Referenced by EnumWindowsProc().
Definition at line 314 of file appswitch.c.
Referenced by DoAppSwitch(), and ProcessHotKey().
Definition at line 465 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 233 of file appswitch.c.
Referenced by IsAltTabWindow().
Definition at line 75 of file appswitch.c.
Referenced by LoadCoolSwitchSettings().
Definition at line 259 of file appswitch.c.
Referenced by EnumWindowsProc().
Definition at line 97 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 603 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 588 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 351 of file appswitch.c.
Referenced by SwitchWndProc_common().
Definition at line 480 of file appswitch.c.
Referenced by SwitchWndProc_common().
Definition at line 502 of file appswitch.c.
Referenced by DoAppSwitch().
Definition at line 324 of file appswitch.c.
Referenced by DoAppSwitch(), and SwitchWndProc_common().
Definition at line 131 of file appswitch.c.
Referenced by PrepareWindow().
Definition at line 537 of file appswitch.c.
Referenced by DoAppSwitch().
LRESULT WINAPI SwitchWndProc_common | ( | HWND | hWnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
BOOL | unicode | ||
) |
Definition at line 794 of file appswitch.c.
Referenced by SwitchWndProcA(), and SwitchWndProcW().
Definition at line 867 of file appswitch.c.
Referenced by RegisterClientPFN().
Definition at line 872 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 = DefSwitchColumns |
Definition at line 68 of file appswitch.c.
Referenced by LoadCoolSwitchSettings(), OnPaint(), and PrepareWindow().
int CoolSwitchRows = DefSwitchRows |
Definition at line 67 of file appswitch.c.
Referenced by LoadCoolSwitchSettings(), and PrepareWindow().
int cxBorder |
Definition at line 54 of file appswitch.c.
Referenced by C1_DrawDragBorder(), and T1_DrawDragBorder().
int cyBorder |
Definition at line 54 of file appswitch.c.
Referenced by C1_DrawDragBorder(), and T1_DrawDragBorder().
HFONT dialogFont |
Definition at line 42 of file appswitch.c.
Referenced by GetDialogFont(), and OnPaint().
Definition at line 63 of file appswitch.c.
Referenced by DoAppSwitch(), and RotateTasks().
const DWORD ExStyle = WS_EX_TOPMOST | WS_EX_DLGMODALFRAME | WS_EX_TOOLWINDOW |
Definition at line 73 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 46 of file appswitch.c.
Referenced by add_font(), GetDialogFont(), PrepareWindow(), and realize_font().
HICON iconList[MAX_WINDOWS] |
Definition at line 51 of file appswitch.c.
Referenced by DestroyAppWindows(), EnumerateCallback(), and OnPaint().
Definition at line 44 of file appswitch.c.
Referenced by CompleteSwitch(), CreateSwitcherWindow(), ProcessHotKey(), and SwitchWndProc_common().
int itemsH |
Definition at line 56 of file appswitch.c.
Referenced by OnPaint(), and PrepareWindow().
int itemsW |
Definition at line 56 of file appswitch.c.
Referenced by OnPaint(), and PrepareWindow().
int nCols |
Definition at line 55 of file appswitch.c.
Referenced by HelpCmd(), MoveDown(), MoveUp(), OnPaint(), PrepareWindow(), ProcessMouseMessage(), and SwitchWndProc_common().
int nItems |
Definition at line 55 of file appswitch.c.
Referenced by _test_items_ok(), BIDI_Reorder(), CBDropDown(), CAppBarManager::DestroyAppBarDPA(), EventDetailsCtrl(), CAppBarManager::FindAppBar(), LISTVIEW_SetItemCount(), MDI_AugmentFrameMenu(), MDI_RestoreFrameMenu(), MSVCRTEX_eh_vector_constructor_iterator(), MSVCRTEX_eh_vector_destructor_iterator(), OLEMenu_FindMainMenuIndex(), CAppBarManager::OnAppBarNotifyAll(), CAppBarManager::OnAppBarQueryPos(), CAppBarManager::OnAppBarRemove(), OnPaint(), PrepareWindow(), CAppBarManager::RecomputeWorkArea(), SwitchWndProc_common(), and test_ScriptItemize().
int nRows |
Definition at line 55 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 61 of file appswitch.c.
Referenced by OnPaint(), and SwitchWndProc_common().
POINT ptStart |
Definition at line 59 of file appswitch.c.
Referenced by AviMuxIn_AMStreamControl_StartAt(), ResizeAndCenter(), SwitchWndProc_common(), and test_CPoint().
int selectedWindow = 0 |
Definition at line 43 of file appswitch.c.
Referenced by CompleteSwitch(), DoAppSwitch(), MoveDown(), MoveLeft(), MoveRight(), MoveUp(), OnPaint(), ProcessHotKey(), ProcessMouseMessage(), and SwitchWndProc_common().
Definition at line 69 of file appswitch.c.
Referenced by LoadCoolSwitchSettings().
const DWORD Style = WS_POPUP | WS_BORDER | WS_DISABLED |
Definition at line 72 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 41 of file appswitch.c.
Referenced by CompleteSwitch(), CreateSwitcherWindow(), DoAppSwitch(), MoveDown(), MoveLeft(), MoveRight(), MoveUp(), PrepareWindow(), ProcessHotKey(), and ProcessMouseMessage().
int totalH |
Definition at line 57 of file appswitch.c.
Referenced by OnPaint(), and PrepareWindow().
int totalW |
Definition at line 57 of file appswitch.c.
Referenced by OnPaint(), and PrepareWindow().
int windowCount = 0 |
Definition at line 52 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 50 of file appswitch.c.
Referenced by CompleteSwitch(), EnumerateCallback(), OnPaint(), ProcessHotKey(), and RotateTasks().
WCHAR windowText[1024] |
Definition at line 48 of file appswitch.c.
Referenced by CTaskSwitchWnd::AddTaskItemButton(), CompleteSwitch(), OnPaint(), and CTaskSwitchWnd::UpdateTaskItemButton().
int xOffset |
Definition at line 58 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 58 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().