Olá nilv !
Veja se isso ajuda:
exemplo 1
#include "minigui.ch"
func main
wd:=getdesktopwidth()
hd:=getdesktopheight()
define window tela at 0,0 width wd height hd main
define grid Ogrid
row 0
col 0
width wd-10
height hd-30
header {"col1","col2","col3"}
widths {100,100,100}
end grid
end window
maximize window tela
activate window tela
exemplo 2
#include "minigui.ch"
func main
wd:=getdesktopwidth()
hd:=getdesktopheight()
define window tela at 0,0 width wd height hd nocaption main
define grid Ogrid
row 0
col 0
width wd-10
height hd-60
header {"col1","col2","col3"}
widths {100,100,100}
end grid
define buttonex Obtn1
row hd-59
col 10
caption "&sair"
action tela.release
end buttonex
end window
maximize window tela
activate window tela
Luiz.