Page 12 of 15

Re: HMG 3.4.0

Posted: Sat Apr 25, 2015 10:50 am
by esgici
I'm afraid that we have a problem with TOPMOST property of DEFINE WINDOW statement :(
TopMostTest.png
TopMostTest.png (81.08 KiB) Viewed 7707 times

Code: Select all


#include <hmg.ch>

PROC Main()

    DEFINE WINDOW frmTopMostTest ;
        AT 0, 250 ;
        WIDTH  250 ; 
        HEIGHT 100 ;
        TITLE "TopMost Test" ;
        MAIN ; 
	    TOPMOST 
      
        ON KEY ESCAPE ACTION frmTopMostTest.Release      
               
        DEFINE CONTEXT MENU // OF &cFrmName 
            MENUITEM "Open"                 ACTION MsgBox( "Open" )              
            MENUITEM "Close"                ACTION MsgBox( "Close" )              
            MENUITEM "Save"                 ACTION MsgBox( "Save" )              
            MENUITEM "Save as"              ACTION MsgBox( "Save as" )              
            SEPARATOR
            MENUITEM "Exit   ( Esc)"        ACTION ThisWindow.Release
         END MENU
      
      END WINDOW // frmTopMostTest
          
      frmTopMostTest.Activate
      
   
RETU // Main()

*-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.

Viva HMG :D

Re: HMG 3.4.0

Posted: Sun May 31, 2015 5:43 pm
by srvet_claudio
Hi all,
I'm back, please test this patch:

Code: Select all

- HMG_GetCompileVersion32 y HMG_GetCompileVersion64: improve theses function for detect version of HMG compiler prior to HMG.3.4.0

- New function: 
      - BT_DRAWEDGE (hDC, nRow, nCol, nWidth, nHeight, nEdge, nGrfFlags)
      - the values of parameters nEdge and nGrfFlags, are defined in INCLUDE\BosTaurus.ch (line 82 and 98)

- Now Form.Grid.CELL() is more fast because use the same code of Form.Grid.CellEx(), both now present the same velocity, CellEx is mateined only for compatibility 

- DisableProcessWindowsGhosting()

- HMG_CallDLL ( cLibName , [ nRetType ] , cFuncName , Arg1 , ... , ArgN ) ---> xRetValue
  Note: HMG_CallDLL() detects the current code page and appropriately called the ANSI or Unicode version of the function.

- New Methods
      - ThisWindow|<FormName>.CenterDesktop
      - ThisWindow|<FormName>.CenterIn ( FormName2 )

      - CENTER WINDOW <FormName> DESKTOP
      - CENTER WINDOW <FormName> IN <FormName2>

- Fixed minor bug in GetProperty() when used with Grid control.
- Fixed minor bug when cancel save file in Print Preview.
- Fixed bug when change position or resize Panel Window (reported by Nascimento) 
- Fixed bug when change font at runtime in Label control with Transparent property (Contribute by Giancarlo)
- Enanced InputWindow() function, see doc (contrib by Pablo César Arrascaeta) 
- Enanced documentation (contrib by Pablo César Arrascaeta) 
I think that with this patch HMG.3.4.0 is considered "Stable"

Re: HMG 3.4.0

Posted: Sun May 31, 2015 6:38 pm
by mol
Great news!

Re: HMG 3.4.0

Posted: Sun May 31, 2015 6:53 pm
by esgici
Thanks doc !

Re: HMG 3.4.0

Posted: Sun May 31, 2015 8:53 pm
by mustafa
Hola amigo esgici
El problema por ti reportado veo que solo
pasa en 32 bits en 64 bits, sale bien.
Saludos.
*----------------------------------------------------------------------*
Hello Esgici friend
The problem reported by you only see
happens in 32 bits in 64 bits, it goes well.
Greetings.
Mustafa

Re: HMG 3.4.0

Posted: Mon Jun 01, 2015 10:42 am
by esgici
mustafa wrote: Hello Esgici friend
The problem reported by you only see
happens in 32 bits in 64 bits, it goes well.
Greetings.
Mustafa
Gracias amigo :arrow:

Is this for forcing us to 64 bit :?: :?

Saludos

Re: HMG 3.4.0

Posted: Mon Jun 01, 2015 11:22 am
by mustafa
Hola amigo esgici
Tienes razon , en mi caso he tenido que
jubilar a mi antiguo ordenador Pentium III
me estaba reportando muchos fallos.

He adquirido uno nuevo a Win 8.1 64 bits

La pregunta es que pasará cuando los próximos
procesadores sean de 128 bits ? je... je.. :lol: :lol:
saludos

*----------------Google ------------------------*

Hello Esgici friend
You are right, in my case I had to
retire my old Pentium III computer
I was reporting many failures.

I acquired a new Win 8.1 64-bit

The question is what will happen when the next
128-bit processors are? je ... je .. :lol: :lol:

regards
Mustafa

Re: HMG 3.4.0

Posted: Mon Jun 01, 2015 12:06 pm
by Mario Mansilla
Muchas gracias Dr Claudio

Saludos

Mario Rafael Mansilla

Re: HMG 3.4.0

Posted: Mon Jun 01, 2015 12:43 pm
by EduardoLuis
Hi Friends:

Thanks Claudio for your new patch, and also thanks for all members that have contributed on tests.-
With regards. Eduardo

Re: HMG 3.4.0

Posted: Mon Jun 01, 2015 2:19 pm
by quartz565
Thanks Claudio !