Hi, i started to make some samples with HwGui, but i've got problems.
After building winprn.exe (i add italian language functions), i see that tooltips never work, if i put the mouse in any button don't show any message: it's a bug or a my failure?
I builded harbur 3.4 with mingw, version gcc-11.2.0-mingw-w64-9.0.0-r3.
Thanks!
Hm... I've tested it with bcc and mingw gcc 8.1.0 and it works. Could you post here a smallest sample?
How i said, i just build winprn.hbp and when i put mouse pointer on any button no tooltip is shown.
I tried even with Harbour 3.2 and Mingw with the same result.
This is the build log:
hbmk2: Processing environment options: -comp=mingw64 -cpu=x86_64
hbmk2: Auto-detected platform: win
hbmk2: Using Harbour: E:\harbour64\bin E:\harbour64\include
E:\harbour64\lib\win\mingw64 E:\harbour64\bin E:\harbour64\contrib
E:\harbour64\addons
hbmk2: Processing: E:\harbour64\addons\hwgui\hwgui.hbc
hbmk2: Harbour compiler command (built-in):
(E:\harbour64\bin\harbour.exe) -n2 winprn.prg -ql -ge1 -jobs=2 -DUNICODE -m -n -w2 -es0 -DHBMK_HAS_HWGUI=1 -n -w -oC:\Users\utente\AppData\Local\Temp\hbmk_lmgi81.dir\ -iE:\harbour64\include -iE:\harbour64\addons\hwgui\include
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'winprn.prg'...
Lines 6184, Functions/Procedures 13
Generating C source output to 'C:\Users\utente\AppData\Local\Temp\hbmk_lmgi81.dir\winprn.c'... Done.
hbmk2: 'cd' to: C:\Users\utente\AppData\Local\Temp\hbmk_lmgi81.dir
hbmk2: C/C++ compiler command:
gcc.exe -c -O3 -DUNICODE -DHB_OPENSSL_STATIC -D__USE_MINGW_ANSI_STDIO=0 -DHWG_USE_POINTER_ITEM -W -Wall -pipe -IE:/harbour64/include -IE:/harbour64/addons/hwgui/include C:/Users/utente/AppData/Local/Temp/hbmk_lmgi81.dir/winprn.c C:/Users/utente/AppData/Local/Temp/hbmk_kqj6eg.c
hbmk2: 'cd' back.
hbmk2: Linking... winprn.exe
hbmk2: Linker command:
gcc.exe C:/Users/utente/AppData/Local/Temp/hbmk_lmgi81.dir/winprn.o C:/Users/utente/AppData/Local/Temp/hbmk_lmgi81.dir/hbmk_kqj6eg.o -mwindows -Wl,--start-group -lhwgui -lprocmisc -lhbxml -lhwgdebug -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lwinmm -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -owinprn.exe -LE:/harbour64/lib/win/mingw64 -LE:/harbour64/addons/hwgui/lib/win/mingw64
Last edit: Marco 2022-03-02
Do you mean buttons in a print preview dialog window (Exit, Print, Dialog, etc.) ?
Last edit: Alexander S.Kresin 2022-03-02
Yes