[gameprogrammer] Re: 3D Model Format

check this delphi code:
//--------------------------------------------------------------
function Cambiazo(ancho,alto:integer):integer;
var
dm:TDeviceMode;
r:integer;
begin
dm.dmSize:=sizeof(TdeviceMode);
dm.dmPaperWidth:=ancho;
dm.dmPelsHeight:=alto;
dm.dmFields:=DM_PELSWIDTH or DM_PELSHEIGHT;

result:=ChangeDisplaySettings(dm,CDS_UPDATEREGISTRY);

end;

buttonClick(Sender:TObject);
begin
Cambiazo(800,600);
end;

-------------------------------------------//
doesn't make the resolution chage. Why. Help me anybody please



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: