<html>
<head>
<style>
<!--
body { background-color:#ffffff }
.file { border:1px solid #eeeeee; margin-top:1em; margin-bottom:1em }
.pathname { font-family:monospace; float:right }
.fileheader { margin-bottom:.5em }
.diff { margin:0 }
.tasklist { padding:4px; border:1px dashed #000000; margin-top:1em }
.tasklist ul { margin-top:0; margin-bottom:0 }
tr.alt { background-color:#eeeeee }
#added { background-color:#ddffdd }
#addedchars { background-color:#99ff99; font-weight:bolder }
tr.alt #added { background-color:#ccf7cc }
#removed { background-color:#ffdddd }
#removedchars { background-color:#ff9999; font-weight:bolder }
tr.alt #removed { background-color:#f7cccc }
#info { color:#888888 }
#context { background-color:#eeeeee }
td {padding-left:.3em; padding-right:.3em }
tr.head { border-bottom-width:1px; border-bottom-style:solid }
tr.head td { padding:0; padding-top:.2em }
.task { background-color:#ffff00 }
.comment { padding:4px; border:1px dashed #000000; background-color:#ffffdd }
.error { color:red }
hr { border-width:0px; height:2px; background:black }
-->
</style>
</head>
<body>
<pre class="comment">Regedit: Enhancements to the contextual menu in the treeview
1. Implemented Export
2. Added a placeholder for Permissions</pre><pre class="diff" id="context">Modified: trunk/reactos/subsys/system/regedit/En.rc
Modified: trunk/reactos/subsys/system/regedit/childwnd.c
Modified: trunk/reactos/subsys/system/regedit/framewnd.c
Modified: trunk/reactos/subsys/system/regedit/main.h
Modified: trunk/reactos/subsys/system/regedit/resource.h
</pre><hr /><div class="file">
<div class="fileheader"><big><b>Modified: trunk/reactos/subsys/system/regedit/En.rc</b></big></div>
<pre class="diff"><small id="info">--- trunk/reactos/subsys/system/regedit/En.rc        2005-11-22 03:37:39 UTC (rev 19448)
+++ trunk/reactos/subsys/system/regedit/En.rc        2005-11-22 04:54:18 UTC (rev 19449)
@@ -135,9 +135,13 @@
</small></pre><pre class="diff" id="context"> MENUITEM "&DWORD Value", ID_EDIT_NEW_DWORDVALUE
END
MENUITEM "&Find", ID_EDIT_FIND, GRAYED
</pre><pre class="diff" id="added">+ MENUITEM SEPARATOR
</pre><pre class="diff" id="context"> MENUITEM "&Delete", ID_TREE_DELETE
MENUITEM "&Rename", ID_TREE_RENAME
MENUITEM SEPARATOR
</pre><pre class="diff" id="added">+ MENUITEM "&Export", ID_TREE_EXPORT
+ MENUITEM "&Permissions...", ID_TREE_PERMISSIONS, GRAYED
+ MENUITEM SEPARATOR
</pre><pre class="diff" id="context"> MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
END
END
</pre></div>
<hr /><div class="file">
<div class="fileheader"><big><b>Modified: trunk/reactos/subsys/system/regedit/childwnd.c</b></big></div>
<pre class="diff"><small id="info">--- trunk/reactos/subsys/system/regedit/childwnd.c        2005-11-22 03:37:39 UTC (rev 19448)
+++ trunk/reactos/subsys/system/regedit/childwnd.c        2005-11-22 04:54:18 UTC (rev 19449)
@@ -145,6 +145,9 @@
</small></pre><pre class="diff" id="context"> RefreshTreeItem(pChildWnd->hTreeWnd, hSelection); /* If delete failed; refresh to see partial results */
}
break;
</pre><pre class="diff" id="added">+        case ID_TREE_EXPORT:
+ ExportRegistryFile(pChildWnd->hTreeWnd);
+ break;
</pre><pre class="diff" id="context"> case ID_EDIT_COPYKEYNAME:
hSelection = TreeView_GetSelection(pChildWnd->hTreeWnd);
keyPath = GetItemPath(pChildWnd->hTreeWnd, hSelection, &hRootKey);
</pre></div>
<hr /><div class="file">
<div class="fileheader"><big><b>Modified: trunk/reactos/subsys/system/regedit/framewnd.c</b></big></div>
<pre class="diff"><small id="info">--- trunk/reactos/subsys/system/regedit/framewnd.c        2005-11-22 03:37:39 UTC (rev 19448)
+++ trunk/reactos/subsys/system/regedit/framewnd.c        2005-11-22 04:54:18 UTC (rev 19449)
@@ -344,7 +344,7 @@
</small></pre><pre class="diff" id="context"> return iResult;
}
</pre><pre class="diff" id="removed">-<span id="removedchars">static B</span>OOL ExportRegistryFile(HWND hWnd)
</pre><pre class="diff" id="added">+<span id="addedchars">B</span>OOL ExportRegistryFile(HWND hWnd)
</pre><pre class="diff" id="context"> {
OPENFILENAME ofn;
TCHAR ExportKeyPath[_MAX_PATH];
</pre></div>
<hr /><div class="file">
<div class="fileheader"><big><b>Modified: trunk/reactos/subsys/system/regedit/main.h</b></big></div>
<pre class="diff"><small id="info">--- trunk/reactos/subsys/system/regedit/main.h        2005-11-22 03:37:39 UTC (rev 19448)
+++ trunk/reactos/subsys/system/regedit/main.h        2005-11-22 04:54:18 UTC (rev 19449)
@@ -90,6 +90,7 @@
</small></pre><pre class="diff" id="context"> extern void SetupStatusBar(HWND hWnd, BOOL bResize);
extern void UpdateStatusBar(void);
extern BOOL CopyKeyName(HWND hWnd, HKEY hRootKey, LPCTSTR keyName);
</pre><pre class="diff" id="added">+extern BOOL ExportRegistryFile(HWND hWnd);
</pre><pre class="diff" id="context">
/* listview.c */
extern HWND CreateListView(HWND hwndParent, int id);
</pre></div>
<hr /><div class="file">
<div class="fileheader"><big><b>Modified: trunk/reactos/subsys/system/regedit/resource.h</b></big></div>
<pre class="diff"><small id="info">--- trunk/reactos/subsys/system/regedit/resource.h        2005-11-22 03:37:39 UTC (rev 19448)
+++ trunk/reactos/subsys/system/regedit/resource.h        2005-11-22 04:54:18 UTC (rev 19449)
@@ -135,6 +135,8 @@
</small></pre><pre class="diff" id="context"> #define IDS_QUERY_DELETE_KEY_CONFIRM 32877
#define ID_TREE_SUGGESTION_MIN 32878
#define ID_TREE_SUGGESTION_MAX 32887
</pre><pre class="diff" id="added">+#define ID_TREE_EXPORT 32888
+#define ID_TREE_PERMISSIONS 32889
</pre><pre class="diff" id="context">
#define IDS_FLT_REGFILES                31001
#define IDS_FLT_REGFILES_FLT                31002
</pre>
</div>
</body>
</html>