ReactOS 0.4.15-dev-7788-g1ad9096
quicklaunch.h
Go to the documentation of this file.
1/*
2 * Copyright 2003, 2004, 2005 Martin Fuchs
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19
20 //
21 // Explorer and Desktop clone
22 //
23 // quicklaunch.h
24 //
25 // Martin Fuchs, 22.08.2003
26 //
27
28
29#define QUICKLAUNCH_WIDTH_DEF 70
30#define QUICKLAUNCH_WIDTH_DEF 70
31
32#define IDW_QUICKLAUNCHBAR 101
33
34#define PM_UPDATE_DESKTOP (WM_APP+0x23)
35
36#define IDC_FIRST_QUICK_ID 0x4000
37
38
39#define QUICKLAUNCH_FOLDER TEXT("Microsoft\\Internet Explorer\\Quick Launch")
40
41
44{
46
50};
51
53struct QuickLaunchMap : public map<int, QuickLaunchEntry>
54{
56};
57
58
60struct QuickLaunchBar : public ExtContextMenuHandlerT<SubclassedWindow>
61{
63
66
67 static HWND Create(HWND hwndParent);
68
69protected:
71 int Command(int id, int code);
72 int Notify(int id, NMHDR* pnmh);
73
75
79 int _size;
80
81 void AddShortcuts();
83 void UpdateDesktopButtons(int desktop_idx);
84};
@ lparam
Definition: SystemMenu.c:31
@ wparam
Definition: SystemMenu.c:30
@ Create
Definition: registry.c:563
HBITMAP hbmp
Definition: _map.h:48
static HWND hwndParent
Definition: cryptui.c:300
GLbitfield flags
Definition: glext.h:7161
uint32_t entry
Definition: isohybrid.c:63
static HBITMAP
Definition: button.c:44
unsigned int UINT
Definition: ndis.h:50
#define TBSTATE_ENABLED
Definition: commctrl.h:974
Definition: shell.h:41
base of all file and directory entries
Definition: entries.h:83
quick launch bar window
Definition: quicklaunch.h:61
void AddShortcuts()
Definition: quicklaunch.cpp:90
void UpdateDesktopButtons(int desktop_idx)
ShellDirectory * _dir
Definition: quicklaunch.h:74
int Notify(int id, NMHDR *pnmh)
ExtContextMenuHandlerT< SubclassedWindow > super
Definition: quicklaunch.h:62
QuickLaunchMap _entries
Definition: quicklaunch.h:77
void AddButton(int id, HBITMAP hbmp, LPCTSTR name, Entry *entry, int flags=TBSTATE_ENABLED)
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
quick launch bar shortcut
Definition: quicklaunch.h:44
map for managing the task bar buttons
Definition: quicklaunch.h:54
shell folder entry
Definition: shellfs.h:54
Definition: inflate.c:139
Definition: name.c:39
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
const CHAR * LPCTSTR
Definition: xmlstorage.h:193