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 // Removes the browse button. 316 #define RFF_NODEFAULT 0x02 // No default item selected. 317 #define RFF_CALCDIRECTORY 0x04 // Calculates the working directory from the file name. 318 #define RFF_NOLABEL 0x08 // Removes the edit box label. 319 #define RFF_NOSEPARATEMEM 0x20 // Removes the Separate Memory Space check box (Windows NT only). 387 void Paint(PaintCanvas& canvas);
440 #define RECENT_DOCS_COUNT 20 457 #ifndef _SHELL32_FAVORITES
static void ShowSearchComputer()
GLubyte GLubyte GLubyte GLubyte w
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
static void ShowRestartDialog(HWND hwndOwner, UINT flags)
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
#define SetWindowFont(hwnd, hfont, fRedraw)
GLint GLint GLint GLint GLint x
IShellFolder smart pointer.
GLenum GLenum GLsizei const GLuint GLboolean enabled
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
static UINT WPARAM LPARAM lparam
static void ShowLaunchDialog(HWND hwndOwner)
Handling of standard start menu commands.
int Command(int id, int code)
window class with gray background color
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
static void ShowLogoffDialog(HWND hwndOwner)
Window *(* CREATORFUNC_INFO)(HWND, const void *)
StartMenuHandler(HWND hwnd, const StartMenuCreateInfo &create_info, int icon_size=ICON_SIZE_SMALL)
shell file/directory entry
GLint GLint GLint GLint GLint GLint y
StartMenuHandler(HWND hwnd, int icon_size=ICON_SIZE_SMALL)
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
static void ShowSearchDialog()
base of all file and directory entries
_Rep_type::iterator iterator
static UINT WPARAM wparam
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *