SystemParametersInfo(SPI_GETWORKAREA, 0, @trDeskRect, 0);
nDeskWidth := trDeskRect.Right - trDeskRect.Left;
nDeskHeight := trDeskRect.Bottom - trDeskRect.Top;
nDeskWidth := trDeskRect.Right - trDeskRect.Left;
nDeskHeight := trDeskRect.Bottom - trDeskRect.Top;
document.write("你的分辨率"+screen.width+"*"+screen.height)
</script>
回复人: wwwwwwww(我我)
请你说的清楚点
nDeskWidth := trDeskRect.Right - trDeskRect.Left;
nDeskHeight := trDeskRect.Bottom - trDeskRect.Top;
screenwidth = screen.width;
</script>
SystemParametersInfo(SPI_GETWORKAREA, 0, @trDeskRect, 0);
nDeskWidth := trDeskRect.Right - trDeskRect.Left;
nDeskHeight := trDeskRect.Bottom - trDeskRect.Top;
写清楚一些好不好?
这样怎么用
谢谢,也许我太笨了