Piazza
May 21st, 2000, 07:22 PM
How do I disable the Print Screen Key to the Windows Environment?
I'm trying this:
Private Sub txtText_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyPrint or KeyCode = vbKeySnapshot then
KeyCode = 0
End If
End Sub
But, when I press the Print Screen Key the event isn't fired. *ONLY* with Print Screen Key!!!
And it only applies to my application, not to the Windows Environment...
Thanks in advance,
Piazza
I'm trying this:
Private Sub txtText_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyPrint or KeyCode = vbKeySnapshot then
KeyCode = 0
End If
End Sub
But, when I press the Print Screen Key the event isn't fired. *ONLY* with Print Screen Key!!!
And it only applies to my application, not to the Windows Environment...
Thanks in advance,
Piazza