GTWVG to Pritpal Bedi

505 views
Skip to first unread message

José M. C. Quintas

unread,
Apr 11, 2023, 12:23:41 PM4/11/23
to harbou...@googlegroups.com
Please check my commits for gtwvg.

Here a demo, and simple tests with another incomplete features.

button have the possibility to use text + icon, since windows vista, but
need adjust to it

loadimage() can resize image, since windows vista, but gtwvg do not have
this possibility and do not use it

wvgstatic() have the icon option, but do not have the option to define icon

and another things.

I create some static controls as test, or because can't do the same with
wvgStatic().

I do not know the standard names to send all these files as pull request.

On a first momment I think on create a "draft" folder on gtwvg/tests

Please check it.

I think the unique limitation on gtwvg to use windows controls on GT are
the controls that require focus, like EDIT (SLE/MLE).

Current wvg samples do not use any windows control on gt, and they are
easier to use than wvt* controls.

Check this on attached demo.

Note: rmchart sample need rmchart.dll but I think you have it.

José M. C. Quintas
wvgtst.zip

Cotswold GB

unread,
Jun 8, 2025, 9:03:49 AMJun 8
to Harbour Users
Hi Jose, Just wondering if you took WVGTST  program set any further than the download above. 
I've compiled it and it doesn't have any mouse recognition, or [Tab] key 

Regards,


José M. C. Quintas

unread,
Jun 8, 2025, 12:50:38 PMJun 8
to harbou...@googlegroups.com

It add some features to gtwvg.

I do not remember about post content, please check here

https://github.com/JoseQuintas/wvgtest


José M. C. Quintas

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/9910b774-8642-4c5f-a623-1f60c02a6524n%40googlegroups.com.

Cotswold GB

unread,
Jun 9, 2025, 3:43:39 AMJun 9
to Harbour Users
Many thanks for that Jose. I'll take a look at that.
In my post #2,  I was actually referring to your file wvgtst.zip that you added on #1 to Pritpal in this post.

José M. C. Quintas

unread,
Jun 9, 2025, 5:08:14 AMJun 9
to harbou...@googlegroups.com

Post is from april/2023, more than 2 years ago.

My current application is using multithread, GTWVG, FIVEWIN and HWGUI, all together on same EXE.

Can't add HMG 3, HMG Extended, OOHG, because there are functions/classes with same name as FIVEWIN.

José M. C. Quintas

Anupam

unread,
Oct 7, 2025, 10:04:27 PM (2 days ago) Oct 7
to Harbour Users

Hi Jose,

I try to check you have add some gtwvg feature a GitHub project wvgtest (link: https://github.com/JoseQuintas/wvgtest) —
when compile/run its tests, the generated output (e.g. the image tests, including tests\tstall.png) doesn’t match the expected PNG (i.e. visual difference).

  • Text drawn over a transparent background
  • Images loaded from .rc (resource) files not display
  • The image should stretch to the full button width/height
  • All controls (buttons, labels, etc.) should render with transparent backgrounds


tstall.png


after compile with Harbour Buiild Version

Harbour 3.2.0dev (r2503251254)

Compiler: MinGW GNU C 7.3 (32-bit)


Clipboard_10-08-2025_01.jpg



how to write a correct build / test (compile & run) and how to fix the discrepancy (so your output matches tstall.png).

Regards
Anupam

José M. C. Quintas

unread,
Oct 8, 2025, 11:46:16 AM (23 hours ago) Oct 8
to harbou...@googlegroups.com

There are some pending pull request may be some things depends on these requests.


Some considerations:

manifest can change visual style, this begans on windows XP.

You can create a file name.exe.manifest or you can built-in the manifest on EXE.

LoadIcon() and LoadImage() on GTWVG does not resize image, this feature is available since Windows Vista, using extra parameters.

button with text + image, this is not available without manifest

tooltip is not available without manifest

and others visual styles

Important:

GTWVG on harbour 3.2 does not works at same way as harbour 3.4, about windows handles/pointers. On 3.2 it uses numbers.

Source code is to harbour 3.2 only.


You can download updated gtwvg from here

https://github.com/JoseQuintas/harbour32_fork/tree/master/contrib/gtwvg

And/or check changes on commits, I allways move my changes to top, after update harbour 3.2

https://github.com/JoseQuintas/harbour32_fork/commit/4f7517b04cb1fae862ee01d898e2476e77013bb8


about to  create gtwvg.ch and change gtwvg.hbc:

I am currently using GTWVG + FIVEWIN + HWGUI on same EXE.

previous gtwvg.hbc causes conflicts because adds headers of gtwvg to all files

with the changes, only gtwvg source code uses gtwvg headers


José M. C. Quintas



Em 07/10/2025 23:04, Anupam escreveu:

Hi Jose,

I try to check you have add some gtwvg feature a GitHub project wvgtest (link: https://github.com/JoseQuintas/wvgtest) —
when compile/run its tests, the generated output (e.g. the image tests, including tests\tstall.png) doesn’t match the expected PNG (i.e. visual difference).

  • Text drawn over a transparent background
  • Images loaded from .rc (resource) files not display
  • The image should stretch to the full button width/height
  • All controls (buttons, labels, etc.) should render with transparent backgrounds





Reply all
Reply to author
Forward
0 new messages