display path in statusbar again when a menu is closed (doesn't seem to work properly on ReactOS yet)

See issue #2495 for more details.

svn path=/trunk/; revision=27968
This commit is contained in:
Christoph von Wittich
2007-07-28 19:43:22 +00:00
parent 025c8a964b
commit 518d4a6885
+4 -6
View File
@@ -171,12 +171,10 @@ void SetupStatusBar(HWND hWnd, BOOL bResize)
void UpdateStatusBar(void)
{
TCHAR text[260];
DWORD size;
size = sizeof(text)/sizeof(TCHAR);
GetComputerName(text, &size);
SendMessage(hStatusBar, SB_SETTEXT, 0, (LPARAM)text);
NMHDR nmhdr;
ZeroMemory(&nmhdr, sizeof(NMHDR));
nmhdr.code = TVN_SELCHANGED;
SendMessage(g_pChildWnd->hWnd, WM_NOTIFY, (WPARAM)TREE_WINDOW, (LPARAM)&nmhdr);
}
static void toggle_child(HWND hWnd, UINT cmd, HWND hchild)