獲取任務欄位置
[轉載]:https://blog.csdn.net/u014134886/article/details/52864773
1 RECT rc; 2 ::SystemParametersInfo(SPI_GETWORKAREA, 0, (PVOID)&rc, 0); //獲取屏幕工作區大小 3 RECT rc_desktop; 4 ::GetWindowRect(GetDesktopWindow(),&rc_desktop);//獲取屏幕大小 5 if(rc.left != rc_desktop.left) 6 { 7 //任務欄在左邊 8 } 9 else if(rc.bottom != rc_desktop.bottom) 10 { 11 //任務欄在下邊 12 } 13 //以下省略...

浙公網安備 33010602011771號