Win32获取屏幕可用尺寸/获取桌面可用区域 (即除去任务栏的区域)

    //获取可用桌面大小  
    RECT rect;  
    SystemParametersInfo(SPI_GETWORKAREA, 0, &rect, 0);  
    int cx = rect.right - rect.left;  
    int cy = rect.bottom - rect.top;  


原文链接:http://blog.csdn.net/sunflover454/article/details/51469696

你可能感兴趣的:(windows,桌面工作区)