PostSetWindowPos shwo bar and hidden bar source code

Posts 1–3 of 3 · Page 1 of 1
SetWindowPos shwo bar and hidden bar source code
Code:
#include <Windows.h>
 
void main() {
 
	//隐藏任务�*�
	HWND hWnd = ::FindWindow(TEXT("Shell_traywnd"), TEXT(""));
	::SetWindowPos(hWnd, 0, 0, 0, 0, 0, SWP_HIDEWINDOW);
	//显示任务�*�
	HWND hWnd = ::FindWindow(TEXT("Shell_traywnd"), TEXT(""));
	::SetWindowPos(hWnd, 0, 0, 0, 0, 0, SWP_SHOWWINDOW);
 
}
this code is very easy! i give everyone..
What?

Code:
ShowWindow(FindWindow(L"Shell_traywnd", nullptr), SW_HIDE);
Ineresting.... Subcribed)
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?