0

Please make show/hide functionality to taskbar, on some maximized windows like chrome taskbar remains hidden behind, and there is no way to show it.

Decoy 8 years ago updated 8 years ago 0

This should help: http://stackoverflow.com/questions/916259/win32-bring-a-window-to-top

Make your own routine to get taskbar to top and stays in until mouse move out.


Sorry for my poor english, it's not my native. ;)



;-------- Show routine:

HWND hCurWnd = ::GetForegroundWindow();
DWORD dwMyID = ::GetCurrentThreadId();
DWORD dwCurID = ::GetWindowThreadProcessId(hCurWnd, NULL);
::AttachThreadInput(dwCurID, dwMyID, TRUE);
::SetWindowPos(m_hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
::SetWindowPos(m_hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
::SetForegroundWindow(m_hWnd);
::AttachThreadInput(dwCurID, dwMyID, FALSE);
::SetFocus(m_hWnd);
::SetActiveWindow(m_hWnd);