우선 해상도 구하는 것은..
WinWidth:= GetSystemMetrics(SM_CXSCREEN);
WinHeight:= GetSystemMetrics(SM_CYSCREEN);
그리고.. 폼의 크기를 고정하는 것이라..
아마 From의 WindowState를 maimiized로 하신 거 같은데..
그걸 wsNormal로 그냥 두시고..
OnCreate이벤트에서..
Width:= 800;
Hight:= 600;
으로 해주셔도 됩니다..
From 류..
|