Page 3 of 16

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 1:52 am
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.

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 6:26 am
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

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 11:52 am
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

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 12:30 pm
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

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 12:49 pm
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.

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 1:11 pm
by mol
If Unicode is turned on by default, so, maybe compilation with unicode turned off will help?

But, how to do it?

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 1:14 pm
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.

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 1:26 pm
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
*/

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 2:02 pm
by esgici
Is this means
chose either Unicode or Browse, not possible both
:?:

TIA

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 2:13 pm
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