Tbtnbmp Clck

Post Reply
User avatar
Silvio.Falconi
Posts: 7151
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Tbtnbmp Clck

Post by Silvio.Falconi »

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
User avatar
Antonio Linares
Site Admin
Posts: 42575
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 36 times
Been thanked: 84 times
Contact:

Re: Tbtnbmp Clck

Post by Antonio Linares »

Disabling it ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 7151
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Tbtnbmp Clck

Post by Silvio.Falconi »

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
User avatar
Antonio Linares
Site Admin
Posts: 42575
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 36 times
Been thanked: 84 times
Contact:

Re: Tbtnbmp Clck

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 7151
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Tbtnbmp Clck

Post by Silvio.Falconi »

Antonio Linares wrote: Wed Jan 29, 2025 4:27 pm 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
User avatar
Antonio Linares
Site Admin
Posts: 42575
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 36 times
Been thanked: 84 times
Contact:

Re: Tbtnbmp Clck

Post by Antonio Linares »

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
User avatar
Silvio.Falconi
Posts: 7151
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Tbtnbmp Clck

Post by Silvio.Falconi »

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
Post Reply