Page 1 of 1

Tbtnbmp Clck

Posted: Wed Jan 29, 2025 10:29 am
by Silvio.Falconi
How do I remove the click motion effect without removing the baction of a tbtnbmp?

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 11:27 am
by Antonio Linares
Disabling it ?

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 12:02 pm
by Silvio.Falconi
No disabling

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 4:27 pm
by Antonio Linares
Then you may need to modify the Class source code, or dinamically modify the Method LButtonDown()

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 7:08 pm
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

Re: Tbtnbmp Clck

Posted: Wed Jan 29, 2025 7:35 pm
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

Re: Tbtnbmp Clck

Posted: Thu Jan 30, 2025 8:06 am
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