mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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)
|
void UpdateStatusBar(void)
|
||||||
{
|
{
|
||||||
NMHDR nmhdr;
|
HKEY hKeyRoot;
|
||||||
ZeroMemory(&nmhdr, sizeof(NMHDR));
|
LPCWSTR pszKeyPath = GetItemPath(g_pChildWnd->hTreeWnd, 0, &hKeyRoot);
|
||||||
nmhdr.code = TVN_SELCHANGED;
|
|
||||||
SendMessageW(g_pChildWnd->hWnd, WM_NOTIFY, (WPARAM)TREE_WINDOW, (LPARAM)&nmhdr);
|
SendMessageW(hStatusBar, SB_SETTEXTW, 0, (LPARAM)pszKeyPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void toggle_child(HWND hWnd, UINT cmd, HWND hchild)
|
static void toggle_child(HWND hWnd, UINT cmd, HWND hchild)
|
||||||
|
|
Loading…
Reference in a new issue