03-06-2006, 03:41 PM
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.
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
or whatever xD
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