GT - Window deconfigure

125 views
Skip to first unread message

Hurricane

unread,
Oct 17, 2025, 1:43:43 PMOct 17
to Harbour Developers
Hi,

With WVG:
It starts correctly and doesn't allow resizing, but after double-clicking the title bar, this changes, the window becomes resizable and sometimes distorts the content (image).

With WVT:
It starts correctly and doesn't allow resizing, but after double-clicking the title bar, the window maximizes.

Tested with Windows 11 and 10

Is it possible to correct or prevent these behaviors? gtwvg and gtwvt.
Applications that require only wvt and others require wvg.

#include 'hbgtinfo.ch'

function main
   HB_GtInfo( HB_GTI_RESIZABLE, .F. )
   HB_GtInfo( HB_GTI_MAXIMIZED, .F. )
   HB_GtInfo( HB_GTI_CLOSABLE, .F. )
   cls
   @0,0 TO MAXROW(), MAXCOL()
   INKEY(0)
   return nil



Regards,
Hurricane

Hurricane

unread,
Oct 29, 2025, 11:24:33 AM (12 days ago) Oct 29
to Harbour Developers
Hi,

I made the correction in WVG, now the double click will be in the correct situation (unpleasant situation, in addition to possible unintentional activations).
If anyone can update Harbour, contact me privately so I can share the code.

I also made additions* to WVT (src\rtl), I can share them later.
*just to be able to manage windows from outside. The management is done by my class, compact usage.


Regards,
Hurricane

Em sexta-feira, 17 de outubro de 2025 às 14:43:43 BRT, 'Hurricane' via Harbour Developers <harbou...@googlegroups.com> escreveu:


Reply all
Reply to author
Forward
0 new messages