Go to the source code of this file.
Data Structures |
| struct | RunDialogThread |
Defines |
| #define | SHELLPATH_CONTROL_PANEL TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}") |
| #define | SHELLPATH_PRINTERS TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}") |
| #define | SHELLPATH_NET_CONNECTIONS TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}") |
Functions |
| static LPTSTR | trim_path_slash (LPTSTR path) |
| int | GetStartMenuBtnTextWidth (HDC hdc, LPCTSTR title, HWND hwnd) |
| void | DrawStartMenuButton (HDC hdc, const RECT &rect, LPCTSTR title, HICON hIcon, bool hasSubmenu, bool enabled, bool has_focus, bool pushed, int icon_size) |
| | if (!btn._enabled) style| |
| | if (pushed) |
| | if (has_focus) |
| | if (title) FillRect(hdc |
| | if (btn._icon_id > ICID_NONE) g_Globals._icon_cache.get_icon(btn._icon_id).draw(hdc |
| | if (btn._hasSubmenu) |
| static void | CalculateStartPos (HWND hwndOwner, RECT &rect, int icon_size) |
| void | ShowExitWindowsDialog (HWND hwndOwner) |
Variables |
| UINT | style = DFCS_BUTTONPUSH |
| POINT | iconPos = {rect.left+2, (rect.top+rect.bottom-icon_size)/2} |
| RECT | textRect = {rect.left+icon_size+4, rect.top+2, rect.right-4, rect.bottom-4} |
| int | bk_color_idx = COLOR_BTNFACE |
| int | text_color_idx = COLOR_BTNTEXT |
| COLORREF | bk_color = GetSysColor(bk_color_idx) |
| HBRUSH | bk_brush = GetSysColorBrush(bk_color_idx) |
| & | rect |
| iconPos | x |
| iconPos iconPos | y |
| iconPos iconPos | icon_size |