Date: Sat, 25 Apr 2009 17:04:14 +0200
From: Massimo Belgrano <mbelgrano@deltain.it>
Subject: [Harbour] A template for add to a CUI application to transorm
in GUI using gtwvg
To: "Harbour Project Main Developer List."
<harbour@harbour-project.org>
A template for transform in gui a gtwvg application today and i hope
that in future also gtqtg
#INCLUDE "HBGTINFO.CH"
function main
HB_GTSYS()
set color to "N/W,N/BG,,,N/W*"
cls
hb_gtInfo( HB_GTI_ICONFILE, "sample.ico" )
hb_gtInfo( HB_GTI_WINTITLE, "Programm Title" )
Hb_GtInfo( HB_GTI_SELECTCOPY,.T.)
Hb_GtInfo( HB_GTI_RESIZABLE, .T. )
..
return
Function HB_GTSYS()
REQUEST HB_GT_WVG_DEFAULT
Return NIL
compile your apllication with
hbmk2 mio.prg -gtwvg -gui
Please share any idea
for menu is better use vtg class or xbp?
--
Massimo Belgrano
No comments:
Post a Comment