Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print Button Protection
#2
what you need to do is get the key event, and when you detect it, you either erase the clipboard OR you replace the picbox with a temp image before oyu let it copy.

Code:
Const VK_SNAPSHOT = &H2C

Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
  If KeyCode = VK_SNAPSHOT Then
    Clipboard.Clear
  End If
End Sub

I was also thinking, if its detected make a hidden imagebox on top of pcScreen, so that ti takes that instead fo the screen.

Either way, you cant stop them from ti alltogether unless when the window is not ontop or activewindow, you make picScreen blank.

[EDIT]

you could also jsut have the box always hidden and jsut do
Code:
Cliboard.SetData frmMirage.imgImg.Picture

or whatever xD
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)