Change the height of the task bar

zhaozj2021-02-16  86

This week is more annoying. . . I always think about setting the height of the task bar! !

Later, with the help of friends and Shura with the farmers, I found that I was wrong at the beginning, I just want to only hand my hands with shell_traywnd, I have never thought of it contains the rebarWindow32 class!

void CBrowserDlg :: OnBnClickedButton1 () {HWND s_Hwnd = :: FindWindow ( "Shell_TrayWnd", NULL); HWND r_Hwnd = :: FindWindowEx (s_Hwnd, 0, "ReBarWindow32", NULL); :: MoveWindow (r_Hwnd, 10, 10, 25, 25, true);

转载请注明原文地址:https://www.9cbs.com/read-14327.html

New Post(0)