C
CS
Hi,
I am using the Drawing Control in a VB container.
I want to disable copy/cut/paste (and many other commands) in my program.
I am able to remove the menu's using the UIObject (using the sample in the
SDK Docs).
However the user can still use the Ctrl + C, or Ctrl + V to run the commands.
I also tried to delete the accelerators for the commands above, with the
same result.
There is a sample in the SDK Doc which shows how to remove the accelerator
for running VB Macros - constant visCmdToolsRunVBE.
Strange thing, when I run it it realy removes the command (including when
called with Alt + F8). But the same code has no effect when I try it with
visCmdUFEditCopy instead.
How can I accomplish this?
Thank You.
I am using the Drawing Control in a VB container.
I want to disable copy/cut/paste (and many other commands) in my program.
I am able to remove the menu's using the UIObject (using the sample in the
SDK Docs).
However the user can still use the Ctrl + C, or Ctrl + V to run the commands.
I also tried to delete the accelerators for the commands above, with the
same result.
There is a sample in the SDK Doc which shows how to remove the accelerator
for running VB Macros - constant visCmdToolsRunVBE.
Strange thing, when I run it it realy removes the command (including when
called with Alt + F8). But the same code has no effect when I try it with
visCmdUFEditCopy instead.
How can I accomplish this?
Thank You.