bortot Posted September 30, 2019 Report Share Posted September 30, 2019 existe atualmente uma funçao que ativa/desativa teclado/mouse? Quote Link to comment Share on other sites More sharing options...
kapiaba Posted September 30, 2019 Report Share Posted September 30, 2019 No teclado, quereis desligar o que? Para o mouse, segue abaixo: IF XDESLIMOUSE = [S] //-> Desliga o Cursor do Mouse DESLIGA_RATO() ENDIF IF XDESLIMOUSE = [S] //-> Religa Cursor do Mouse RELIGA_RATO() ENDIF Function Desliga_Rato() ShowCursor( 0 ) // Desliga Mouse Move SysRefresh() Return Nil //----------------------------------------------------------------------------- Function Religa_Rato() ShowCursor( 1 ) // Re-Liga Mouse Move //2 // Outra Opção //SetCursorPos( ( 1 ), ( 2 ) ) // Re-Liga Mouse Move SysRefresh() Return Nil //----------------------------------------------------------------------------- Function Canhotos() // Inverte botao do Ratinho SwapMouseButton( 1 ) // Para Canhotos Return Nil //----------------------------------------------------------------------------- Function Destros() // Volta ao Normal SwapMouseButton( 0 ) // Para Destros Return Nil DLL32 FUNCTION SwapMouseButton(swap AS 7) AS 7 PASCAL LIB "USER32.DLL" Quote Link to comment Share on other sites More sharing options...
kapiaba Posted September 30, 2019 Report Share Posted September 30, 2019 http://forums.fivetechsupport.com/viewtopic.php?f=6&t=7662&start=0 Quote Link to comment Share on other sites More sharing options...
bortot Posted September 30, 2019 Author Report Share Posted September 30, 2019 OBRIGADO KAPIABA PARA O MOUSE. PARA O TECLADO PRECISO BLOQUEAR TOTALMENTE O TECLADO DURANTE A IMPRESSÃO DO CUPOM DO TEF PARA QUE O OPERADOR DO PDV NAO INTERFIRA NO PROCESSAMENTO DO PDV. kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 1, 2019 Report Share Posted October 1, 2019 Ai, você deve olhar as funcções da DLL, se tem isso. Ou simplesmnete trave o Leitor de códigos de barras. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.