CnPack Forum


 
Subject: Delphi 2006 OTA疑问?
littlerain
新警察
Rank: 1



UID 210
Digest Posts 0
Credits 43
Posts 30
点点分 43
Reading Access 10
Registered 2003-11-3
Status Offline
Post at 2005-12-17 21:08  Profile | Blog | P.M. 
Delphi 2006 OTA疑问?

请问大侠,我在Delphi 2006中想自己写一个小专家能hook到代码输入,并自动
Invoke IDE自身的Code Completion,类似于CnPack的代码输入助手的功能,
这是通过调用(OTAEditorServices.TopView as IOTAEditActions).CodeCompletion(csCodelist
      or csManual);
来实现的。
但是当我在keyboard的hook函数中调用这个代码时,发觉当调用失败时,IDE的反应非常慢,
慢到几乎无法写代码了,但是以前Delphi7和Delphi2005时都没有那么慢,
不知大侠能否解惑一下,谢谢!
Top
littlerain
新警察
Rank: 1



UID 210
Digest Posts 0
Credits 43
Posts 30
点点分 43
Reading Access 10
Registered 2003-11-3
Status Offline
Post at 2005-12-21 00:48  Profile | Blog | P.M. 
以解决,是我弄错了,谢谢!
Top
 




All times are GMT++8, the time now is 2024-11-25 03:55

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.011006 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP