mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
f9325370f5
The caller of IContextMenu::QueryContextMenu must set these flags when needed, not CDefaultContextMenu. Notes: - CMF_CANRENAME is always set by DefView because it always supports rename in its current form. CDefaultContextMenu verifies that SFGAO_CANRENAME is also set on the items. All other callers are expected to not know how to rename unless they also set CMF_CANRENAME. This fixes the bug that the Rename item is present in the TreeView context menu even though the TreeView in ROS Explorer does not handle renaming. - While DefView now tries to set CMF_EXPLORE correctly, the flag is never actually set because BROWSEUI does not handle FCW_TREE yet. - This also fixes the bug where the File menu is missing the menu items when there is no selection. |
||
---|---|---|
.. | ||
3rdparty | ||
appcompat | ||
cpl | ||
directx | ||
ime | ||
keyboard | ||
nls | ||
np | ||
ntdll | ||
opengl | ||
shellext | ||
win32 | ||
CMakeLists.txt |