Harbour MiniGUI Extended Edition build 19.10 is published

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

User avatar
AUGE_OHR
Posts: 313
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 34 times
Been thanked: 41 times

Re: Harbour MiniGUI Extended Edition build 19.10 is published

Post by AUGE_OHR » Thu Nov 07, 2019 7:59 am

gfilatov wrote:
Thu Nov 07, 2019 7:22 am
AUGE_OHR wrote:
Thu Nov 07, 2019 12:20 am
i understand that MiniGui is Part of HMG...
Wrong guessing... :oops:
sorry ... i know it is a Extended Version :!:

i just want to know if i can copy my HBP to HJP and use MiniGUI IDE for my "normal" HMG Code.

is there a Constant __MiniGUI__ like __XPP__ that i can use in my Source Code :?:

User avatar
gfilatov
Posts: 672
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 24 times
Been thanked: 237 times
Contact:

Post by gfilatov » Thu Nov 07, 2019 8:47 am

AUGE_OHR wrote:
Thu Nov 07, 2019 7:59 am
is there a Constant __MiniGUI__ like __XPP__ that i can use in my Source Code :?:
Yes, it is the constant __HMG__.

Below is a sample code from the BosTaurus library of HMG 3.4.4: 8-)

Code: Select all

Function BT_HMGGetImage (cFormName, cControlName)
LOCAL k, hBitmap := 0
   k := GetControlIndex (cControlName, cFormName)
   IF k > 0 .AND. GetControlType (cControlName, cFormName) == "IMAGE"
      #ifdef __HMG__    // HMG Extended
         hBitmap := _HMG_aControlContainerHandle [k]
      #else             // HMG Official
         hBitmap := _HMG_SYSDATA [37, k]
      #endif
   ENDIF
Return hBitmap
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
AUGE_OHR
Posts: 313
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 34 times
Been thanked: 41 times

Post by AUGE_OHR » Fri Nov 08, 2019 6:05 am

hi,

i have compare HMG with Extended Version
HB_FUNC.ZIP
HB_FUNC list of HMG and Extended Version
(21.78 KiB) Downloaded 14 times
there are much more HB_FUNC in Extended Version but some seems missing ?
c_EventCB.c
c_Thread.c
so i like to ask what does it mean :?: ? no Event and no Thread :?:

---

other like c_controlmisc.c are much shorter. HMG_Printer - c_winprint.c

btw. some HB_FUNC begin with "_"
does it have a special (internal) function :?:

---

i found Ownerdraw :D

Code: Select all

c_chklistbox.c HB_FUNC( _ONMEASURELISTBOXITEM )                                                
c_chklistbox.c HB_FUNC( _ONDRAWLISTBOXITEM )       

c_menu.c HB_FUNC( _ONMEASUREMENUITEM ) 
c_menu.c HB_FUNC( _ONDRAWMENUITEM )

c_windowsAPI.c HB_FUNC( GETRC )     // Get ListView CustomDraw Row and Column  
are there more :?:

---

i must say sorry again. there are much more Sample in Extended Version so it take some time to look at it.

GREAT WORK, THX

User avatar
gfilatov
Posts: 672
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 24 times
Been thanked: 237 times
Contact:

Post by gfilatov » Fri Nov 08, 2019 5:52 pm

[/quote]
AUGE_OHR wrote:
Fri Nov 08, 2019 6:05 am
hi,

btw. some HB_FUNC begin with "_"
does it have a special (internal) function :?:
Sure.
AUGE_OHR wrote:
Fri Nov 08, 2019 6:05 am
i found Ownerdraw :D
are there more :?:
Yes, it is.
There are also an owner-draw Button EX control and owner-draw colored Tab control. :arrow:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
AUGE_OHR
Posts: 313
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 34 times
Been thanked: 41 times

Post by AUGE_OHR » Sat Nov 09, 2019 1:37 am

hi,

i try to use Debugger in Extended IDE but it seems not to work :?:

i have assign HPJ to c:\MiniGUI\IDE\ide.exe but IDE does not start :?:

Request : __HMGEX__

Code: Select all

#IFDEF __Clipper__
#ELSE __XPP__
#ELSE __FW__
#ELSE __HMG__
#ELSE __HMGEX__       //
#ELSE __HARBOUR__

User avatar
AUGE_OHR
Posts: 313
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 34 times
Been thanked: 41 times

Post by AUGE_OHR » Tue Nov 19, 2019 12:46 am

hi,

i found out that when click on *. HJP the extended IDE only start if it found a *.FMG in that directory :o

still have Problem to include Debugger ( dbgHB.prg / dbgGUI.prg )
when try with c:\MiniGUI\BATCH\Compile.Bat MyFile /D it give Error "/D"

---

i have a HMG working Sample which use HbXpp that i can't compile with Extended Version

*.HBC

Code: Select all

incPaths=C:\MiniGUI\SAMPLES\0\LCDUHR 
libpaths=C:\borland\bcc58\lib
libs=hbwin libs=hbxpp
gt=gtgui
mt=no
instpaths=
give
Error: Unresolved external '_HB_FUN_DLLLOAD'
Error: Unresolved external '_HB_FUN_DLLCALL'
Error: Unresolved external '_HB_FUN_DLLUNLOAD'
is Extended Version so different that i can't run "normal" HMG Code :?:

Post Reply