The MASM Forum

Microsoft 64 bit MASM => Tools & Toys => Topic started by: TimoVJL on June 30, 2019, 08:52:45 AM

Title: Re: Memory Status Toy, Memstat.exe
Post by: TimoVJL on June 30, 2019, 08:52:45 AM
Refresh Tray Window at exit
Code: [Select]
HWND hWndTray = FindWindow(TEXT("Shell_TrayWnd"), NULL);
hWndTray = GetWindow(hWndTray, GW_CHILD); //notification area
PostMessage(hWndTray, WM_PAINT , 0, 0);