RE:Cambiar la resolucion de la pantalla
Estas usando la función correcta, si no funciona debe ser por los parametros que le pasas.
Te mando un ejemplo que funciona, solo tienes que importar este ejemplo.
copia el siguiente texto en un fichero de texto con el nombre w_configuracion.srw e importalo:
$PBExportHeader$w_configuracion.srw
forward
global type w_configuracion from Window
end type
type cb_r2 from commandbutton within w_configuracion
end type
type cb_r1 from commandbutton within w_configuracion
end type
end forward
type devmode from structure
character dmdevicename[32]
integer dmspecversion
integer dmdriverversion
integer dmsize
integer dmdriverextra
long dmfields
integer dmorientation
integer dmpapersize
integer dmpaperlength
integer dmpaperwidth
integer dmscale
integer dmdefaultsource
integer dmprintquality
integer dmcolor
integer dmduplex
integer dmresolution
integer dmttoption
integer dmcollate
character dmformname[32]
integer dmlogpixels
long dmbitsperpel
long dmpelswidth
long dmpelsheight
long dmdisplayflags
long dmdisplayfrequency
long dmicmmethod
long dmicmintent
long dmmediatype
long dmdithertype
long dmreserved1
long dmreserved2
end type
global type w_configuracion from Window
int X=823
int Y=360
int Width=1289
int Height=204
boolean TitleBar=true
string Title="Co