FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Tbtnbmp Clck
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Tbtnbmp Clck

Posted: Wed Jan 29, 2025 10:29 AM

How do I remove the click motion effect without removing the baction of a tbtnbmp?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 11:27 AM

Disabling it ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 12:02 PM

No disabling

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 04:27 PM

Then you may need to modify the Class source code, or dinamically modify the Method LButtonDown()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 07:08 PM
Antonio Linares wrote: Then you may need to modify the Class source code, or dinamically modify the Method LButtonDown()
I tried this afternoon and I not found a solution
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 07:35 PM

METHOD LButtonDown( nRow, nCol, nFlags, lTouch ) INLINE 1

1 means the Windows message has been processed and no further action should be taken

0 means that you require standard Windows behavior

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Tbtnbmp Clck

Posted: Thu Jan 30, 2025 08:06 AM
Perhaps I found

on method Lbuttondown I rem

::refresh()

on cicle conditional

if GetFocus() == ::hWnd

it seem run ok now

only now the problem is when I over th emouse into a btnbmp it change the size and it seem bad to see it
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion