Commit Graph

68 Commits

Author SHA1 Message Date
Alexandre Julliard 0b18409cfc regedit: Use C runtime wchar functions instead of wine/unicode.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:48:30 +02:00
Alistair Leslie-Hughes 006d3f3365 regedit: Don't expand items on initial tree creation.
The Message TVM_EXPAND is captured in treeview_notify, then passes
g_pChildWnd->hTreeWnd on to OnTreeExpanding which hasn't been
initialized yet.  The function get_last_key is already called after
the hTreeWnd has been assigned to select the previous selected
item (if it exists).

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 23:02:31 +02:00
Hugh McMaster a926e05446 regedit: Do not directly include stdio.h any longer.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:28:07 +02:00
Hugh McMaster a20f99b548 regedit: Use the ARRAY_SIZE macro.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:26:27 +02:00
Hugh McMaster 73220a3d6f regedit: Remove regproc.h.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:26:01 +02:00
Michael Stefaniuc 505a9e0283 regedit: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 10:06:12 +01:00
Hugh McMaster 5d9a4c4dbd regedit: Store the data from a listview subitem in a valid memory address.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-28 15:42:20 +02:00
Hugh McMaster c193bffb3e regedit: Use the heap_*() functions in childwnd.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-27 17:04:04 +02:00
Nikolay Sivov cbd6e05e68 regedit: Simplify double-click listview handler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-14 10:51:58 +02:00
Hugh McMaster 5a391e18cb regedit: Use UpdateStatusBar() instead of updating the text manually.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 18:34:54 +02:00
Hugh McMaster 683b9992f6 regedit: Remove the listview's sub-class and move its messages to childwnd.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:55 +02:00
Hugh McMaster aa42d81e6d regedit: Move treeview notify messages to a separate function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:55 +02:00
Hugh McMaster 7d0f2deca3 regedit: Update the listview path when renaming a treeview node.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hugh McMaster 182b6fb545 regedit: Update the status bar text when a treeview node is renamed.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hugh McMaster 2689792cd4 regedit: Update the status bar when moving to the 'Computer' root node.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 20:51:46 +02:00
Hugh McMaster c04f66a59f regedit: Allow handling of return values from listview notification messages.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:50 +02:00
Hugh McMaster fe38c9abad regedit: Move the listview's NM_SETFOCUS handling to listview.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:50 +02:00
Hugh McMaster d763aecc24 regedit: Use a separate pop-up menu for the 'Computer' root node.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-24 16:23:59 +02:00
Hugh McMaster 7bf054f198 regedit: Update and sort the pop-up menus.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-22 21:06:20 +02:00
Hugh McMaster 85e34436cd regedit: Add a missing 'break' statement (Coverity).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 19:29:14 +02:00
Hugh McMaster 6f667d1c42 regedit: Only show the context menu if the mouse is over a treeitem.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:46 +02:00
Hugh McMaster ab0d0c6ee4 regedit: Select the targeted treeview item on right mouse click.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:46 +02:00
Hugh McMaster 4dc5a764c7 regedit: Call TrackPopupMenu() from WM_CONTEXTMENU.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:45 +02:00
Nikolay Sivov c5f26bf56d regedit: Clear value list when tree root is selected.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 10:52:03 +01:00
Hugh McMaster 1e1bfba1c4 regedit: Only allow key renaming via the Edit or Popup menus.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:09 +01:00
Nikolay Sivov 6827724e54 regedit: Make it possible for save/restore position on tree root. 2015-06-15 14:48:46 +09:00
Daniel Jelinski 003622c015 regedit: Disallow editing root key names. 2012-10-16 20:46:01 +02:00
Andrew Nguyen dfc0fa86d4 regedit: Convert the child window code to Unicode. 2011-04-18 11:50:12 +02:00
Andrew Nguyen 82796c565e regedit: Remove all Unicode macros in main.h. 2011-04-18 11:50:09 +02:00
Andrew Nguyen 182763f632 regedit: Convert regedit main code to Unicode. 2011-04-18 11:49:48 +02:00
Gerald Pfeifer d9dbfa7d7c regedit: Remove variable hdc which is not really used from OnPaint. 2010-05-03 15:35:49 +02:00
Detlef Riekenberg 69b3782a82 regedit: Do not write junk after the LastKey value. 2009-08-25 11:42:06 +02:00
Vladimir Pankratov 5ce04f7ffc regedit: Implement open last key at startup. 2009-07-07 11:17:10 +02:00
Francois Gouget 5898a5c767 regedit: Make some functions static. 2009-01-26 15:13:21 +01:00
Alexander Nicolaysen Sørnes d67986b9dd regedit: Some minor unicode conversions. 2008-09-03 13:14:52 +02:00
Alexander Nicolaysen Sørnes 7bb5df75d3 regedit: Remove some unused code. 2008-09-03 13:14:52 +02:00
Alexander Nicolaysen Sørnes ba093c6dc0 regedit: Fix some references to TCHARs. 2008-09-03 13:14:51 +02:00
Alexander Nicolaysen Sørnes c36fec1cd0 regedit: Set the unicode flag for the treeview. 2008-09-02 13:26:57 +02:00
Alexander Nicolaysen Sørnes fef3660024 regedit: Fix a memory leak. 2008-09-02 12:55:38 +02:00
Alexander Nicolaysen Sørnes e26b563ee1 regedit: Remove some ANSI functions. 2008-09-02 12:55:30 +02:00
Alexander Nicolaysen Sørnes 6b7ebf0881 regedit: Convert key renaming to unicode. 2008-09-02 12:53:35 +02:00
Alexander Nicolaysen Sørnes 4aabdecd67 regedit: Use Unicode strings when updating listview. 2008-08-28 11:24:50 +02:00
Alexander Nicolaysen Sørnes b0a8b66789 regedit: Fix leak in GetItemFullPathW. 2008-08-27 13:21:21 +02:00
Alexander Nicolaysen Sørnes be43131b49 regedit: Convert treeview init to Unicode. 2008-08-26 12:07:42 +02:00
Alexander Nicolaysen Sørnes 6168a7c60c regedit: Convert clipboard handling to unicode. 2008-08-20 12:20:37 +02:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Detlef Riekenberg 10d825aaa3 regedit: Enable WM_RBUTTONDOWN to set the splitbar. 2007-02-19 13:35:03 +01:00
Detlef Riekenberg 5b19d5899f regedit: Do not use a local copy of a global pointer. 2007-02-08 12:58:31 +01:00
Detlef Riekenberg 0a0316ea45 regedit: Do not pass a global available pointer to a static function. 2007-02-08 12:58:27 +01:00
Alexandre Julliard 5b875279d1 regedit: Properly handle negative coordinates for mouse events. 2006-10-25 17:42:57 +02:00