Page 2 of 2

Re: Harbour MiniGUI Extended Edition build 19.10 is published

Posted: Thu Nov 07, 2019 7:59 am
by AUGE_OHR
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 :?:

Re: Harbour MiniGUI Extended Edition build 19.10 is published

Posted: Thu Nov 07, 2019 8:47 am
by gfilatov
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

Re: Harbour MiniGUI Extended Edition build 19.10 is published

Posted: Fri Nov 08, 2019 6:05 am
by AUGE_OHR
hi,

i have compare HMG with Extended Version
HB_FUNC.ZIP
HB_FUNC list of HMG and Extended Version
(21.78 KiB) Downloaded 158 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

Re: Harbour MiniGUI Extended Edition build 19.10 is published

Posted: Fri Nov 08, 2019 5:52 pm
by gfilatov
[/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:

Re: Harbour MiniGUI Extended Edition build 19.10 is published

Posted: Sat Nov 09, 2019 1:37 am
by AUGE_OHR
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__

Re: Harbour MiniGUI Extended Edition build 19.10 is published

Posted: Tue Nov 19, 2019 12:46 am
by AUGE_OHR
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 :?: