Click here to Skip to main content
15,920,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to make copy restriction for my applicaion. I have done the code for key board events like ctrl-c and ctrl-v but,

I could n't able to stop copying from mouse right click copy.

i have tried
Protected Overrides Sub WndProc(ByRef m As Message) Event,

Select Case m.Msg
Case Is = WM_DRAWCLIPBOARD
SendMessage(mNextClipBoardViewerHWnd, m.Msg, m.WParam, m.LParam)
End Select

But , for copy and paste both events are comming under this case.

Please tell me how to restrict mouse right click copy.
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900