HMG 3.1.1

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.1

Post by srvet_claudio »

Pablo César wrote:Claudio, I compiled the example of BPD in HMG 3.1.0 and displays all records. Of course with exhibition in error accented characters. Now in version 3.1.1 display no records at all. It's something to be thinking about, I believe is nothing with Harbour, do not you think?
Hi Pablo.
I think there is a little confusion, what I said was that works perfect with the Harbour compiler of the HMG.3.1.0, I did not say it worked with version 3.1.0 of HMG.
Test copying all the source files of HMG.3.1.1 in the folder SOURCE of HMG.3.1.0 and rebuild the library whit of HMG.3.1.0.

This is the function that creates a GRID:

Code: Select all

	hbutton = CreateWindowEx(WS_EX_CLIENTEDGE,_TEXT("SysListView32"),_TEXT(""),
	style ,
	hb_parni(3), hb_parni(4) , hb_parni(5), hb_parni(6) ,
	hwnd,(HMENU)hb_parni(2) , GetModuleHandle(NULL) , NULL ) ;
This is the function that creates a BROWSE:

Code: Select all

	hbutton = CreateWindowEx(WS_EX_CLIENTEDGE,_TEXT("SysListView32"),_TEXT(""),
	LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_CHILD | WS_TABSTOP | WS_VISIBLE | LVS_REPORT,
	hb_parni(3), hb_parni(4) , hb_parni(5) , hb_parni(6) ,
	hwnd,(HMENU)hb_parni(2) , GetModuleHandle(NULL) , NULL ) ;
As you can see both functions creates a GRID, it is why Roberto decided to leave the BROWSE (example this is there are no demo or references to the BROWSE control in the latest versions of HMG).
Best regards,
Claudio.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.1.1

Post by mol »

Grid is not ready to take over all functionality of browse.
I've tried to replace all my browse's and got a lot of problems with it.
I was desribed it about 18 months ago...

So, save the BROWSE ,
pleeeeeease :lol: :lol: :lol:
Regards, Marek
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: HMG 3.1.1

Post by Pablo César »

srvet_claudio wrote:I think there is a little confusion, what I said was that works perfect with the Harbour compiler of the HMG.3.1.0, I did not say it worked with version 3.1.0 of HMG.
Test copying all the source files of HMG.3.1.1 in the folder SOURCE of HMG.3.1.0 and rebuild the library whit of HMG.3.1.0.
No, no hice confusion. Entendi perfectamente lo que dijiste. Yo apenas agregué que compilando el browse de BDP funciona normal en la version HMG.3.1.0. Por eso caberia comparar lo que fué implementado en HMG y Harbour. Solo para tu informacion. Ahora me tengo que ir al dentista, pero tendré placer de buscar lo que está influyendo en la nueva version 3.1.1.

No, I did not confused. I understood perfectly what you said. I just added that compiling the BDP's browse and works in HMG.3.1.0 version normally. So wee need to compare sources what was implemented, just to see if is question of HMG or Harbour reasons. Just FYI.
Now I have to go to the dentist, but I will have pleasure to seek what is influencing the new version 3.1.1.
As you can see both functions creates a GRID, it is why Roberto decided to leave the BROWSE (example this is there are no demo or references to the BROWSE control in the latest versions of HMG).
Si, es cierto no hay ejemplo en el paquete de instalacion del HMG. Pero el componente existe en la IDE.

Yes, it is true. No browse examples are in the installation package of HMG. But the component exists in the IDE.

Abrazos
Last edited by Pablo César on Thu Dec 06, 2012 9:53 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
nguyenchiduc
Posts: 78
Joined: Sat Nov 13, 2010 7:27 am

Re: HMG 3.1.1

Post by nguyenchiduc »

Examples of ACTIVEX does not work when replacing a link other than http://www.hmgforum.com/

I checked with WinXP and IE6. Version 3.0.46 works
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.1

Post by srvet_claudio »

Pablo César wrote:No, no hice confusion. Entendi perfectamente lo que dijiste. Yo apenas agregué que compilando el browse de BDP funciona normal en la version HMG.3.1.0. Por eso caberia comparar lo que fué implementado en HMG y Harbour. Solo para tu informacion. Ahora me tengo que ir al dentista, pero tendré placer de buscar lo que está influyendo en la nueva version 3.1.1.
You can not compare these versions (3.1.0 vs 3.1.1), because by my neglect the source code of BROWSE of the HMG.3.1.0 was remained in ANSI, I was not converted to UNICODE.
Best regards,
Claudio.

PS: BDP example is in ANSI.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.1.1

Post by mol »

If Unicode is turned on by default, so, maybe compilation with unicode turned off will help?

But, how to do it?
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.1

Post by srvet_claudio »

nguyenchiduc wrote:Examples of ACTIVEX does not work when replacing a link other than http://www.hmgforum.com/

I checked with WinXP and IE6. Version 3.0.46 works
Hi Nguyenchiduc.
I tested it and it worked ok.
Could you post a link Which does not work?
Please, test with HMG.3.1.0 and HMG.3.1.1 and post if exist difference in the work.
Best regards,
Claudio.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.1

Post by srvet_claudio »

mol wrote:If Unicode is turned on by default, so, maybe compilation with unicode turned off will help?

But, how to do it?
Hi Marek.
Is very easy, in file c:\hmg.3.1.x\source\SET_COMPILE_HMG_UNICODE.CH

Set as comment (//) the directive:
#define COMPILE_HMG_UNICODE

and you rebuild the library (c:\hmg.3.1.x\buildlib.bat).

Best regards,
Claudio.

PS:
In file c:\hmg.3.1.x\source\SET_COMPILE_HMG_UNICODE.CH

Code: Select all

/* 
 If defined        COMPILE_HMG_UNICODE   --->  HMG is compiled for UNICODE
 If NOT defined    COMPILE_HMG_UNICODE   --->  HMG is compiled for ANSI
*/
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.1.1

Post by esgici »

Is this means
chose either Unicode or Browse, not possible both
:?:

TIA
Viva INTERNATIONAL HMG :D
Mario Mansilla
Posts: 269
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina

Re: HMG 3.1.1

Post by Mario Mansilla »

Hola Claudio :
Intente realizar lo que le indicaste a Mol:
Try what you indicated to Mol:

Set as comment (//) the directive:
#define COMPILE_HMG_UNICODE

and you rebuild the library (c:\hmg.3.1.x\buildlib.bat)

Pero me dan varios errores entre otros relacionados con "TCHAR" .

Ahora bien realizando buildlib.bat con la libreria tal como se distribuye , si bien se crea la lib da un mensaje de error con respecto a "HB_LISTVIEW" .

But I get several errors among others related to "TCHAR".

Now the library doing buildlib.bat as distributed while establishing lib gives an error message about "HB_LISTVIEW".

Saludos .
Mario Mansilla
Post Reply