ToolBar ( TO Antonio )

Re: ToolBar ( TO Antonio )

Postby nageswaragunupudi » Sun Feb 21, 2010 1:38 am

Code: Select all  Expand view  RUN
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
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: ToolBar ( TO Antonio )

Postby Antonio Linares » 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: Select all  Expand view  RUN

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ToolBar ( TO Antonio )

Postby lailton.webmaster » Sun Feb 21, 2010 1: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
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: ToolBar ( TO Antonio )

Postby Enrico Maria Giordano » Sun Feb 21, 2010 1: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: Select all  Expand view  RUN

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
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: ToolBar ( TO Antonio )

Postby Antonio Linares » Sun Feb 21, 2010 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Re: ToolBar ( TO Antonio )

Postby lailton.webmaster » Sun Feb 21, 2010 5:06 pm

Antonio,

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

Thanks.
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: ToolBar ( TO Antonio )

Postby Antonio Linares » Sun Feb 21, 2010 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ToolBar ( TO Antonio )

Postby lailton.webmaster » Sun Feb 21, 2010 7: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:
Image

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

:(
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: ToolBar ( TO Antonio )

Postby lailton.webmaster » Sun Feb 21, 2010 7:33 pm

No work in XP sp3 too.

Image

the same problem, when resize. :lol:
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: ToolBar ( TO Antonio )

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ToolBar ( TO Antonio )

Postby lailton.webmaster » 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)
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: ToolBar ( TO Antonio )

Postby nageswaragunupudi » Tue Feb 23, 2010 5: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
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: ToolBar ( TO Antonio )

Postby Antonio Linares » Tue Feb 23, 2010 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], karinha, Natter and 79 guests