29 #define CLASSNAME_EXPLORERBAR TEXT("Shell_TrayWnd") 30 #define TITLE_EXPLORERBAR TEXT("") // use an empty window title, so windows taskmanager does not show the window in its application list 33 #define DESKTOPBARBAR_HEIGHT (GetSystemMetrics(SM_CYSIZE) + 5 * GetSystemMetrics(SM_CYEDGE)) 34 #define REBARBAND_HEIGHT (GetSystemMetrics(SM_CYSIZE) + 2 * GetSystemMetrics(SM_CYEDGE)) 37 #define IDC_START 0x1000 38 #define IDC_LOGOFF 0x1001 39 #define IDC_SHUTDOWN 0x1002 40 #define IDC_LAUNCH 0x1003 41 #define IDC_START_HELP 0x1004 42 #define IDC_SEARCH_FILES 0x1005 43 #define IDC_SEARCH_COMPUTER 0x1006 44 #define IDC_SETTINGS 0x1007 45 #define IDC_ADMIN 0x1008 46 #define IDC_DOCUMENTS 0x1009 47 #define IDC_RECENT 0x100A 48 #define IDC_FAVORITES 0x100B 49 #define IDC_PROGRAMS 0x100C 50 #define IDC_EXPLORE 0x100D 51 #define IDC_NETWORK 0x100E 52 #define IDC_CONNECTIONS 0x100F 53 #define IDC_DRIVES 0x1010 54 #define IDC_CONTROL_PANEL 0x1011 55 #define IDC_SETTINGS_MENU 0x1012 56 #define IDC_PRINTERS 0x1013 57 #define IDC_PRINTERS_MENU 0x1014 58 #define IDC_BROWSE 0x1015 59 #define IDC_SEARCH_PROGRAM 0x1016 60 #define IDC_SEARCH 0x1017 61 #define IDC_TERMINATE 0x1018 62 #define IDC_RESTART 0x1019 64 #define IDC_FIRST_MENU 0x3000 67 #define IDHK_EXPLORER 0 69 #define IDHK_DESKTOP 2 71 #define IDHK_STARTMENU 4 77 OwnerDrawParent<Window> >
123 virtual void TrayClick(
UINT id,
int btn);
124 virtual void TrayDblClick(
UINT id,
int btn);
WindowHandle _hwndStartButton
void ProcessHotKey(int id_hotkey)
draw message routing for ColorButton and PictureButton
int Notify(int id, NMHDR *pnmh)
void ShowOrHideStartMenu()
struct StartMenuRoot * _startMenuRoot
WindowHandle _hwndQuickLaunch
OwnerDrawParent< Window > super
static UINT WPARAM LPARAM lparam
_Out_opt_ int _Out_opt_ int * cy
WindowHandle _hwndTaskBar
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
void Resize(int cx, int cy)
int Command(int id, int code)
LRESULT ProcessCopyData(COPYDATASTRUCT *pcd)
desktop bar window, also known as "system tray"
void ControlResize(WPARAM wparam, LPARAM lparam)
const UINT WM_TASKBARCREATED
LRESULT Init(LPCREATESTRUCT pcs)
static UINT WPARAM wparam