2 * Copyright 2003 Martin Fuchs
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 // Explorer and Desktop clone
25 // Martin Fuchs, 22.08.2003
29 #define QUICKLAUNCH_WIDTH 208
31 #define IDW_QUICKLAUNCHBAR 101
33 #define PM_REFRESH (WM_APP+0x14)
35 #define IDC_FIRST_QUICK_ID 0x4000
38 #define QUICKLAUNCH_FOLDER _T("Microsoft\\Internet Explorer\\Quick Launch")
41 /// quick launch bar shortcut
42 struct QuickLaunchEntry
51 /// map for managing the task bar buttons
52 struct QuickLaunchMap : public map<int, QuickLaunchEntry>
58 /// quick launch bar window
59 struct QuickLaunchBar : public SubclassedWindow
61 typedef SubclassedWindow super;
63 QuickLaunchBar(HWND hwnd);
66 static HWND Create(HWND hwndParent);
69 LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam);
70 int Command(int id, int code);
71 int Notify(int id, NMHDR* pnmh);
76 QuickLaunchMap _entries;