mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[REGEDIT] Make the UpdateStatusBar function actually update the statusbar, instead of sending garbage to the treeview. CORE-10803
svn path=/trunk/; revision=73452
This commit is contained in:
parent
c88489858d
commit
80d548b608
1 changed files with 4 additions and 4 deletions
|
@ -178,10 +178,10 @@ void SetupStatusBar(HWND hWnd, BOOL bResize)
|
|||
|
||||
void UpdateStatusBar(void)
|
||||
{
|
||||
NMHDR nmhdr;
|
||||
ZeroMemory(&nmhdr, sizeof(NMHDR));
|
||||
nmhdr.code = TVN_SELCHANGED;
|
||||
SendMessageW(g_pChildWnd->hWnd, WM_NOTIFY, (WPARAM)TREE_WINDOW, (LPARAM)&nmhdr);
|
||||
HKEY hKeyRoot;
|
||||
LPCWSTR pszKeyPath = GetItemPath(g_pChildWnd->hTreeWnd, 0, &hKeyRoot);
|
||||
|
||||
SendMessageW(hStatusBar, SB_SETTEXTW, 0, (LPARAM)pszKeyPath);
|
||||
}
|
||||
|
||||
static void toggle_child(HWND hWnd, UINT cmd, HWND hchild)
|
||||
|
|
Loading…
Reference in a new issue