GTWVG / HWGUI, WVT / GTK #222
JoseQuintas
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
GTWVG and HWGUI uses same internal style.
Each one have it's own internal names for classes/methods.
GTWVG uses WVT (and Windows API) and have a incredible and easy resize feature.
HWGUI works on Windows (using Windows API) and Linux (using GTK).
WVT and GTK are default GT libraries on Harbour, both have GT.
I made a test changing GTWVG class by HWGUI class, and it works !!!
(but do not have GTWVG resize, and it is not ready for GT).
Seems that Prmezek already works on HWGUI.
What about to join both libraries inside Harbour?
Seems a valid option to Windows and Linux, and a long a-waited feature.
Start point GTWVG, when using GT:
t_oCrt := WvgCrt():new()
t_oCrt:hWnd := t_oCrt:pWnd := hb_gtInfo( HB_GTI_WINHANDLE )
hb_gtInfo( HB_GTI_NOTIFIERBLOCKGUI, {| nEvent, ... | t_oCrt:notifier( nEvent, ... ) } )
Start point on HWGUI test, using same GT as GTWVG: (and normal window for full GUI)
t_oCrt := hWindow():New()
t_oCrt:Handle := hb_gtInfo( HB_GTI_WINHANDLE )
hb_gtInfo( HB_GTI_NOTIFIERBLOCKGUI, { | nEvent, ... | t_oCrt:OnEvent( nEvent, ... ) } )
Beta Was this translation helpful? Give feedback.
All reactions