0 vote vote

[ Resolved ]

CTRL + P cannot be overriden.

Steps to regenerate


i tried to override the Ctrl+P Event, so that the Print-Dialog will not shown. But the Dialog allways appears.

Private Sub txtHtml_KeyDown(ByVal sender As Object, ByVal e As SpiceLogic.WinHTMLEditor.EditorKeyEventArgs) Handles txtHtml.KeyDown
If e.CtrlKey AndAlso e.KeyCode = 80 Then
e.Cancel = True
End If
End Sub

What can I do?

Thank you
Please feel free to share your comment.