mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user