任务栏大小的计算方法
1.宽度 和窗口宽度一样
2.高度 窗口高度-工作区域高度
CWindowDC dc(GetDesktopWindow());//取得桌面设备句柄
int xRes = GetDeviceCaps(dc, HORZRES);//取得水平
int yRes = GetDeviceCaps(dc, VERTRES);//取得竖直
CRect rcWin;
SystemParametersInfo(SPI_GETWORKAREA, 0, &rcWin,0);//取得工作区域矩形
xRes //任务栏宽度
yRes - rcWin.bottom;//任务栏高度