ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

startmenu.cpp File Reference
#include <precomp.h>
#include "../resource.h"
#include "desktopbar.h"
#include "startmenu.h"
#include "../dialogs/searchprogram.h"
#include "../dialogs/settings.h"

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

Generated on Mon May 28 2012 04:46:32 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.