FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ToolBar ( TO Antonio )
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 01:38 AM
Code (fw): Select all Collapse
though actually seems to be crashing with 10.1 (or it may be Windows 7).

Working well with 9.12. Problem is only in 10.1
Tested on XP SP2
Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 10:18 AM
Already located and fixed for next FWH 10.2 :-)

The fix is quite curious, but it works. In Class TControl:
Code (fw): Select all Collapse
METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TControl

   local nResult 

   ...

      case nMsg == WM_UPDATEUISTATE
              nResult = Super:HandleEvent( nMsg, nWParam, nLParam )
              return nResult
   ...

Now FWH\samples\rebars.prg is working fine again
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 01:11 PM

Hi Antonio,

This sample no work fine to me in win7
When i try resize the window stay stoped and no reply more.

what do u think about this ?

Using win7 ultimate
fwh10.1 xh1.2.1 bcc55

Thanks

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 01:32 PM
Antonio Linares wrote:Already located and fixed for next FWH 10.2 :-)

The fix is quite curious, but it works. In Class TControl:
Code (fw): Select all Collapse
METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TControl

   local nResult 

   ...

      case nMsg == WM_UPDATEUISTATE
              nResult = Super:HandleEvent( nMsg, nWParam, nLParam )
              return nResult
   ...

Now FWH\samples\rebars.prg is working fine again


Please don't do it. It will result in this refresh problem again:

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=17590

EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 04:00 PM

Enrico,

No, it should not flick

Previously there was a call to Refresh() that we are not doing again :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 04:02 PM

Ok, great! :-)

EMG

Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 05:06 PM

Antonio,

do you´ve date to next release fwh 10.2 ?
this rebars.prg no work to me.

Thanks.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 07:13 PM

Lailton,

We will publish 10.2 in two or three days.

Have you applied the above fix ?

viewtopic.php?p=95146#p95146

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 07:26 PM
Antonio,

I tryed more no work.

Compile OK, click in button OK, more if i try resize (or move) screen stay freezed

see:


And i need use taskkill -f -im rebars.exe
because don´t back to normal.

:-)
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: ToolBar ( TO Antonio )
Posted: Sun Feb 21, 2010 07:33 PM
No work in XP sp3 too.



the same problem, when resize. :-)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ToolBar ( TO Antonio )
Posted: Mon Feb 22, 2010 10:38 AM
Lailton,

It seems as you have not properly applied the fix that I have explained.

Here you have the EXE built using FWH 10.2 for testing :-)
http://www.mediafire.com/?wmmmcztiz2d
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: ToolBar ( TO Antonio )
Posted: Mon Feb 22, 2010 12:21 PM

Good Job Antonio,

Now work in Win7. ( no try yet in XP more think that it´s ok )

Thanks 8)

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: ToolBar ( TO Antonio )
Posted: Tue Feb 23, 2010 05:50 AM
I tried the fix on 10.1. It is not working for me too on XP SP2
Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ToolBar ( TO Antonio )
Posted: Tue Feb 23, 2010 07:52 AM

Rao,

It is working on FWH 10.2 to be published in a few days. It seems as it requires some other changes.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion