owner drawn context menus for FileChild
Modified: trunk/reactos/subsys/system/explorer/shell/filechild.cpp
Modified: trunk/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp
Modified: trunk/reactos/subsys/system/explorer/taskbar/quicklaunch.h
Modified: trunk/reactos/subsys/system/explorer/taskbar/taskbar.cpp
Modified: trunk/reactos/subsys/system/explorer/taskbar/taskbar.h
_____
Modified: trunk/reactos/subsys/system/explorer/shell/filechild.cpp
--- trunk/reactos/subsys/system/explorer/shell/filechild.cpp
2005-02-06 13:12:07 UTC (rev 13438)
+++ trunk/reactos/subsys/system/explorer/shell/filechild.cpp
2005-02-06 13:28:34 UTC (rev 13439)
@@ -431,12 +431,15 @@
LPDRAWITEMSTRUCT dis = (LPDRAWITEMSTRUCT)lparam;
Entry* entry = (Entry*) dis->itemData;
- if (dis->CtlID == IDW_TREE_LEFT)
+ if (dis->CtlID == IDW_TREE_LEFT) {
_left->draw_item(dis, entry);
- else if (dis->CtlID == IDW_TREE_RIGHT)
+ return TRUE;
+ } else if (dis->CtlID == IDW_TREE_RIGHT) {
_right->draw_item(dis, entry);
+ return TRUE;
+ }
- return TRUE;}
+ goto def;}
case WM_SIZE:
if (wparam != SIZE_MINIMIZED)
_____
Modified: trunk/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp
--- trunk/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp
2005-02-06 13:12:07 UTC (rev 13438)
+++ trunk/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp
2005-02-06 13:28:34 UTC (rev 13439)
@@ -1,5 +1,5 @@
/*
- * Copyright 2003, 2004 Martin Fuchs
+ * Copyright 2003, 2004, 2005 Martin Fuchs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
_____
Modified: trunk/reactos/subsys/system/explorer/taskbar/quicklaunch.h
--- trunk/reactos/subsys/system/explorer/taskbar/quicklaunch.h
2005-02-06 13:12:07 UTC (rev 13438)
+++ trunk/reactos/subsys/system/explorer/taskbar/quicklaunch.h
2005-02-06 13:28:34 UTC (rev 13439)
@@ -1,5 +1,5 @@
/*
- * Copyright 2003, 2004 Martin Fuchs
+ * Copyright 2003, 2004, 2005 Martin Fuchs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
_____
Modified: trunk/reactos/subsys/system/explorer/taskbar/taskbar.cpp
--- trunk/reactos/subsys/system/explorer/taskbar/taskbar.cpp
2005-02-06 13:12:07 UTC (rev 13438)
+++ trunk/reactos/subsys/system/explorer/taskbar/taskbar.cpp
2005-02-06 13:28:34 UTC (rev 13439)
@@ -1,5 +1,5 @@
/*
- * Copyright 2003, 2004 Martin Fuchs
+ * Copyright 2003, 2004, 2005 Martin Fuchs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
_____
Modified: trunk/reactos/subsys/system/explorer/taskbar/taskbar.h
--- trunk/reactos/subsys/system/explorer/taskbar/taskbar.h
2005-02-06 13:12:07 UTC (rev 13438)
+++ trunk/reactos/subsys/system/explorer/taskbar/taskbar.h
2005-02-06 13:28:34 UTC (rev 13439)
@@ -1,5 +1,5 @@
/*
- * Copyright 2003, 2004 Martin Fuchs
+ * Copyright 2003, 2004, 2005 Martin Fuchs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public