29#define CLASSNAME_STARTMENU TEXT("ReactOSStartmenuClass")
30#define TITLE_STARTMENU TEXT("Start Menu")
33#define STARTMENU_WIDTH_MIN 120
34#define STARTMENU_LINE_HEIGHT(icon_size) (icon_size+4)
35#define STARTMENU_SEP_HEIGHT(icon_size) (STARTMENU_LINE_HEIGHT(icon_size)/2)
36#define STARTMENU_TOP_BTN_SPACE 8
40#define PM_STARTMENU_CLOSED (WM_APP+0x11)
41#define PM_STARTENTRY_LAUNCHED (WM_APP+0x12)
43#ifndef _LIGHT_STARTMENU
44#define PM_STARTENTRY_FOCUSED (WM_APP+0x13)
47#define PM_UPDATE_ICONS (WM_APP+0x14)
48#define PM_SELECT_ENTRY (WM_APP+0x15)
85#ifndef _LIGHT_STARTMENU
149#define STARTMENU_CREATOR(WND_CLASS) WINDOW_CREATOR_INFO(WND_CLASS, StartMenuCreateInfo)
154#ifdef _LIGHT_STARTMENU
159 : _title(
entry._title),
160 _icon_id(
entry._icon_id),
162 _hasSubmenu(hasSubmenu),
171 _hasSubmenu(hasSubmenu),
200#ifdef _LIGHT_STARTMENU
206#ifdef _LIGHT_STARTMENU
253#ifdef _LIGHT_STARTMENU
254 SMBtnVector _buttons;
258 void ResizeToButtons();
260 void InvalidateSelection();
261 const SMBtnInfo* GetButtonInfo(
int id)
const;
262 bool SelectButton(
int id,
bool open_sub=
true);
263 bool SelectButtonIndex(
int idx,
bool open_sub=
true);
264 int GetSelectionIndex();
265 virtual void ProcessKey(
int vk);
266 bool Navigate(
int step);
267 bool OpenSubmenu(
bool select_first=
false);
268 bool JumpToNextShortcut(
char c);
303 void Paint(PaintCanvas& canvas);
315#define RFF_NOBROWSE 0x01
316#define RFF_NODEFAULT 0x02
317#define RFF_CALCDIRECTORY 0x04
318#define RFF_NOLABEL 0x08
319#define RFF_NOSEPARATEMEM 0x20
387 void Paint(PaintCanvas& canvas);
440#define RECENT_DOCS_COUNT 20
457#ifndef _SHELL32_FAVORITES
_Rep_type::iterator iterator
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
GLubyte GLubyte GLubyte GLubyte w
static UINT WPARAM wparam
static UINT WPARAM LPARAM lparam
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
window class with gray background color
base of all file and directory entries
shell file/directory entry
IShellFolder smart pointer.
Handling of standard start menu commands.
static void ShowLaunchDialog(HWND hwndOwner)
static void ShowRestartDialog(HWND hwndOwner, UINT flags)
StartMenuHandler(HWND hwnd, int icon_size=ICON_SIZE_SMALL)
static void ShowSearchComputer()
StartMenuHandler(HWND hwnd, const StartMenuCreateInfo &create_info, int icon_size=ICON_SIZE_SMALL)
static void ShowSearchDialog()
static void ShowLogoffDialog(HWND hwndOwner)
Window *(* CREATORFUNC_INFO)(HWND, const void *)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
#define SetWindowFont(hwnd, hfont, fRedraw)