2011年1月20日
摘要: 1.判断位置SystemParametersInfo(SPI_GETWORKAREA, 0, &rt, 0) //任务栏在下面的高度 int y = ::GetSystemMetrics(SM_CYSCREEN)-rt.Height(); 上面 int y = rt.top; 左 int y = rt.left; 右 int y = ::GetSystemMetrics(SM_CXSCREEN)-rt.Width();2.得到高度,然后可判断位置CRect rect; CWnd *pWndPrev= FindWindow("Shell_TrayWnd", ""); pWndPrev-GetW 阅读全文
posted @ 2011-01-20 14:26 carekee 阅读(3916) 评论(0) 推荐(0)