Página 2 de 2

Desabilitar opcao maximizar

Enviado: 04 Mar 2013 12:16
por Pablo César
Abel escreveu:estou compilando com harbour 3.1 nighty, uso a opcao -gui e utilizar a gtwvt.

isso é modo console, nao é ?
Sim, é modo console (observe a sua tela se é gráfica, como os aplicativos em Windows). Então a sua aplicação não é hwgui. Eu lamentavelmente não conheço sobre gtwvt e achei algo que possa a vir a ser util:

- http://www.harbour.vouch.info/index.html?gtwvt.htm Help on line da contrib gtwvt
- http://www.csacomputer.com/gtwvw/doc/funclist.txt Lista de funções gtwvt
- http://cch4clipper.blogspot.com.br/2011 ... gtwvt.html Definição da gtwvt:
Simple Usage of gtWVT
What is gtWVT ?

gtWVT is the GT driver for MS-Windows (Win 95 and higher) and was contributed to Xharbour on 22nd December 2003 by Peter Rees

It creates its own GUI window instead of using MS-console window. It allows to changes to font, window size, etc.

gtWVT is a pure console implementation of traditional Clipper terminaltaking Windows API as its base console IO protocols. Its OI are rendered in a Windows window and hence all of MSDN is available for use with GTWVT.


Simple Usage in Harbour/xHarbour

Incredibly as it may seems, just adding -gtwvt to yourproject.hbp and then hbmk2 yourproject.hbp will allow your newly recompiled CA-Clipper Codes (as Harbour Codes) to run as a true 32-bits application to run in its own GUI window rather than the awkward Command Prompt Window :-)

gtWVT also supports additional functionality with hb_gtInfo() interface. You may want to check out harbour\include\hbgtinfo.ch :-)
Posted by CCH at 11:59 AM
Labels: CCH, GTWVT, Harbour Project, XHarbour
1 comment:

AnonymousFebruary 26, 2011 at 5:01 PM
Mr. Chee Chong,

GtWvt is parent of Gtwvw (xharbour/harbour) and Gtwvg (harbour from pritpal bhedi). GtWvg is advanced system.

regards
Para essa sua questão, talvez você precise utilizar uma função da própria biblioteca gtwvt que você está usando. Pelo que parece-me, a solução estaria usar a função WVW_SETWINSTYLE

Desabilitar opcao maximizar

Enviado: 14 Mar 2013 12:58
por Abel
ola, Pablo,

nao consegui usa-la, da erro de compilacao, mesmo tendo o -lgtwvt ,

sera que tenho que incluir algum .ch diferente ?

Agradeço toda paciencia e ajuda.
Abraços,