Home > Back-end >  Delphi6 generated OCX in MyEclipse call cannot use Ctrl C/V/X/Y/Z shortcuts and direction
Delphi6 generated OCX in MyEclipse call cannot use Ctrl C/V/X/Y/Z shortcuts and direction

Time:10-24

Delphi6 environment, developed an EXE, it is mainly used to TDHTMLEdit and THTMLEdit this two controls, puts a THTMLEdit in the main form, and then in this THTMLEdit is a TDHTMLEdit, running EXE when there are no problems, such as THTMLEdit input contents and then press the up and down or so direction key and Ctrl + C/V/X/Y/Z is no problem.

: when encapsulates a OCX controls, inside this OCX control and the EXE is the same as above, also puts a THTMLEdit in the main form, and then in this THTMLEdit also is to have a TDHTMLEdit, generates a OCX or DLL, but found the up and down or so when used in IE test such as direction and Ctrl + C/V/X/Y/Z is problems can't use. Then wrote a message in the main form of OCX to manual processing these shortcuts, but found in MyEclipse call messages will be blocked by MyEclipse which doesn't work, this is the main problem.

purpose: in order to use TDHTMLEdit and THTMLEdit encapsulated into the two controls OCX control, can use the up and down or so when I was in for the use of MyEclipse, the direction key and Ctrl + C/V/X/Z/Y these shortcuts, will not lead to the collapse of MyEclipse!!!!!

Please everyone. Because the time is short. I hope you give some advice. Thank you!

Note: if there is a need to control can I M looking for I want, I can provide environment!

CodePudding user response:

OCX need local activation, in order to response to the mouse and keyboard messages

CodePudding user response:

reference 1st floor DelphiTeacher response:
OCX need local activation, mouse and keyboard to response message

Hello, I want to ask next local need how to activate? OCX must be registered, but not very understand the meaning of activation? Thank you first!! Looking forward to your reply!!!!!

CodePudding user response:

reference 1st floor DelphiTeacher response:
OCX need local activation, mouse and keyboard to response message

I found online, some said activation is needed to join certificate in it, I'll use SignCode this tool, has made a certificate, and join into the OCX controls, but no effect, still can't use the keyboard shortcuts!

CodePudding user response:

Study
In this respect I also not too will
  • Related