mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
owner drawn context menus for FileChild
svn path=/trunk/; revision=13439
This commit is contained in:
parent
32ded4ebff
commit
24ed9a6f95
5 changed files with 10 additions and 7 deletions
|
@ -431,12 +431,15 @@ LRESULT FileChildWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
|
|||
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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue