在WINCE 下如何得到屏幕大小?
------解决方案--------------------
GetDeviceCaps
------解决方案--------------------
GetDeviceCaps HORZRES/VERTRES
or
GetSystemMetrics SM_CXSCREEN, SM_CYSCREEN
------解决方案--------------------
楼上正解.
//宽
int nWidth = GetSystemMetrics(SM_CXSCREEN);
//高
int nHeight = GetSystemMetrics(SM_CYSCREEN);