Environment lenv_cur
long hpbu, vpbu //hpbu 宽,vpbu 长
GetEnvironment( lenv_cur )
// Get the screen's width and height in pixels
// and convert to PBUs
hpbu = PixelsToUnits( lenv_cur.ScreenWidth, xPixelsToUnits! )
vpbu = PixelsToUnits( lenv_cur.ScreenHeight, yPixelsToUnits! )
屏幕分辨率的获取
最新推荐文章于 2017-01-14 15:48:48 发布