Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

vbʵÏַ½ðɽ´Ê°ÔµÄÆÁĻȡ´Ê¹¦ÄÜ

½ñÌìÏëÒª×öÀàËƽðɽ´Ê°ÔÆÁĻȡ´ÊµÄ¹¦ÄÜ£¬ÔÚÍøÉÏÕÒÁËһЩ×ÊÁÏ£¬·¢ÏÖ¶¼ºÜ¸´ÔÓ¡£¼ÈÈ»½ðɽ´Ê°ÔÒѾ­Êµ
ÏÖÁË£¬½èÓÃÖ®:
½ðɽ´Ê°ÔÖÐ2005ÖдøÁËÒ»¸öXdictGrb.dll£¬ÆäʵÊÇÒ»¸öCOM×é¼þ£¬²¢ÇÒʵÏÖÁËÒ»¸öÈ¡´ÊµÄ²å¼þ¿ò¼Ü¡£
ÆäÖеÄÓÐÒÔÏÂÄÚÈÝ£º
1 ½Ó¿Ú
1.1 GrabProxy È¡´Ê´úÀí¶ÔÏó
Function AdviseGrab(XDictGrabSink As IXDictGrabSink) As Long
¹ã²¥Ò»¸öXDictGrabSink£¨Èç¹ûҪʵÏÖÈ¡´Ê¹¦ÄÜ£¬ÄãÐèÒª×Ô¼ºÀ´ÊµÏÖÕâ¸ö½Ó¿Ú£¬¾ßÌåµÄ·½·¨ºóÃæ»áÓнéÉÜ¡££¨Visual BasicµÄʾÀý£¬Ê¹ÓÃÆäËûÓïÑÔÀàËÆ£©£© ½Ó¿Ú£¬ÔÚÐèҪȡ´ÊµÄʱºò»áµ÷ÓÃXDictGrabSinkµÄQueryWord·½·¨£¬Äã¿ÉÒÔÔÚÕâÀïʵÏÖÄãÐèÒªµÄ¹¦ÄÜ¡£
Property GrabEnabled As Boolean
ÊÇ·ñÈ¡´ÊµÄÊôÐÔ
Property GrabMode As XDictGrabModeEnum
É趨ȡ´ÊµÄÊôÐÔ£¬XDictGrabFlagEnumµÄ¶¨ÒåºóÃæ»á½²µ½¡£
Property GrabFlag As XDictGrabFlagEnum
É趨ȡ´Ê½¡£¬±ÈÈçÊÇ·ñÒª½áºÏCtrl»òÕßShift.
Property GrabSystemCP As Long
Õâ¸öÊôÐÔÔÝʱ²»Ì«Çå³þ¡£
Sub GrabWord(lCursorX As Long, lCursorY As Long)
È¡x,y×ø±êµÄ´Ê£¬¹À¼ÆÊÇÆÁÄ»×ø±ê¡£
Sub UnadviseGrab(lCookie As Long)
È¡Ïû¶ÔXDictGrabSink½Ó¿ÚµÄ¹ã²¥¡£
Property XDictGrabPlugins As IPluginsCollection
·µ»ØÒ»¸öIPluginsCollection¼¯ºÏ¡£
1.2  IPluginsCollection ²å¼þ¼¯ºÏ¶ÔÏó
ÆäÖÐʵÏÖÁËÒ»¸ö²å¼þµÄ¿ò¼Ü£¬µ«ÊÇÈç¹ûÖ»ÊÇҪʵÏÖÆÁĻȡ´Ê¹¦ÄÜ£¬Ò²¿ÉÒÔÔÝʱ²»Ê¹Óòå¼þ¹¦ÄÜ¡£
1.3  IXDictGrabPlugin ²å¼þ½Ó¿Ú
1.4  IXDictGrabROT½Ó¿Ú Ãû×Ö²»Ì«Ã÷°×ÊÇʲôÒâ˼£¬ÓÃÀ´×¢²áºÍ·´×¢²á²å¼þ¡£
1.5  IXDictGrabSink ×Ô¼ºÒªÊµÏֵĽӿڣ¬²Î¼ûºóÃæµÄÀý×Ó¡£
Function QueryWord(WordString As String, lCursorX As Long, lCursorY As Long, SentenceString As String, lLoc As Long, lStart As Long) As Long
¿ÉÒÔÔÚÕâ¸ö·½·¨ÖÐʵÏÖÄã×Ô¼ºÒª×öµÄ¹¦ÄÜ£¬WordString²ÎÊýÓ¦¸ÃÊÇÊó±êËùÔÚ´¦µÄµ¥´Ê£¬lCursorXÊÇÊó±êµ±Ç°X×ø±ê£¬lCursorYÊÇÊó±êµ±Ç°Y×ø±ê£¬SentenceString ÊÇÊó±êËùÔÚ´¦Õû¸ö¾ä×Ó£¬lLocÊÇÊó±êËùÔÚ´¦µÄ×ÖÔÚÕû¸ö¾ä×ÓÖеÄλÖã¬Ï±ê´Ó0¿ªÊ¼¡£lStartÔÝʱ²»Ì«Çå³þ¡£
2 ³£Á¿¶¨Òå
2.1 XDictGrabFlagEnum
Const XDictGrabDisableButton = 4
²»È¡°´Å¥ÉϵÄÎÄ×Ö
Const XDictGrabDisableCaption = 8
²»È¡±êÌâÀ¸µÄÎÄ×Ö
Const XDictGrabDisableMenu = 2
²»È¡²Ëµ¥µÄÎÄ×Ö
Const XDictGrabOnlyEnglish = 1
ֻȡӢÎÄ
ÒÔÉϼ¸¸ö³£Á


Ïà¹ØÎĵµ£º

VBʵÏÖ¼òµ¥µÄͼÐÎÇøÓòÑ¡Ôñ

³ÌÐòЧ¹û£º
µ±µã»÷×ó±ßµÄ²¿¼þͼʱ£¬»áµ¯³ö¶Ô»°¿òÌáʾÄãµã»÷ÁËÄÄÒ»¸öÇøÓò¡£
³ÌÐò˼·£º
ÓÃÒ»¸öͼƬÇøÓòÂëͼ×÷Ϊµã»÷ÇøÓòµÄ²ÎÕÕ£¬¸ù¾ÝXYÈ¡µÃµÄÑÕɫʶ±ð³öÊôÓÚÄÄÒ»¸öÇøÓò
³ÌÐò½çÃæÈçÏ£º
Ïà¹Ø´úÂëÈçÏ£º
Visual Basic Code
Dim ColorArray (   )   As Long
Dim ColorCount As Long
Private Sub Form_Load ( ......

VB 5·1µÚ¶þÌì

ÉÏÎçÏÈ°ÑÖ÷°åÊõÓï°¤¸ö²éÁËÒ»±é£¬Á˽âËüµÄËõдÓÉÀ´¡¢Î»Öú͹¦ÄÜ¡£
Ö÷°åÓ¢ÎÄËõдÏê½â£º
 http://user.qzone.qq.com/904515106/infocenter?ptlang=2052&ADUIN=904515106&ADSESSION=1272977059&ADTAG=CLIENT.QQ.2653_Mysrv.0
ÏÂÎç·µ¹¤£¬Õâ´Î¸øµÄ½ÌѵÊDzÒÍ´µÄ£¬ÎÒÃÇ×éÊÔÁË°ëÌ춼²»ÄܵãÁÁ£¬»»Ó²ÅÌ·&mi ......

VB 5·1µÚÈýÌì

1¡¢´óµÀÖÁ¼ò
 
Ã×ÀÏʦÏȳÊÏÖÁËÒ»¸öº¯ÊýµÄͼÏñ£¬È»ºóÎÊÎÊ´ó¼ÒÏëµ½ÁËʲô¡£
¿´µ½ÕâÕÅͼ£¬ÎÒÏÈ·¢ÏÖÕâÊÇÒ»¸öÖÜÆÚº¯Êý£¬ÔÙÍùÉîÁ˾͸оõ×Ô¼ºÓ¦¸Ã²»»áÁË£¬¼ÄÏ£ÍûÓÚÊéÐŵļ¸¸öͬѧ£¬¸Ð¾õÓ¦¸ÃÊǸßÊýÀïµÄ¶«Î÷¡£µ«ÊÂʵ֤Ã÷ÊdzõÖеÄ֪ʶ£º
ËûÊÇÒÔÏÂÈý¸öº¯ÊýµÄ¸´ºÏº¯Êý£º
y=sin(x)+sin(2x)+sin(3x)
 
 
 
& ......

VB ²éÕÒÓÎÏ·´°¿Ú¾ä±úµÄ·½·¨


VB ²éÕÒÓÎÏ·´°¿Ú¾ä±úµÄ·½·¨
ÐÅÏ¢À´Ô´£ººÚ¿Í´úÂë ±à¼­£ºroot ä¯ÀÀ´ÎÊý£º191 ¼ÓÈëʱ¼ä£º2010-3-20 1:40:47 ÆÀÂÛ(0)
[ÎÊÌâÒ»,²»ÄÜ»ñµÃ´°¿Ú¾ä±ú]
Ò»°ãÑ°ÕÒ´°¿Ú¾ä±ú¶¼ÊÇÖ±½ÓFindWindow°É,ÕâÑùÊDz»ÐеÄ,QQÈý¹úÔÚÕâЩº¯ÊýÉÏ×öÁËһЩ´¦Àí.ÎÒÀ´¸ø´ó¼Ò˵¸öÍòÄܵķ½·¨°É,
¶ÔÓÚGetWindowText·½·¨ÓÎÏ·¾Í¹Ü²»µ½ÁË,¿ÉÒÔÅäºÏʹÓÃGetW ......

ÀûÓÃreplace º¯Êý ÔÚvbÖÐʵÏÖ Ïû³ý¿ÕÐÐ


ÕâÀïÊÇ ÀûÓÃreplace º¯Êý ÔÚvbÖÐʵÏÖ Ïû³ý¿ÕÐеÄÒ»¸ö³ÌÐò
ÕâÀïµÄÈÝÆ÷ÊÇrichtext
¿ÉÒÔÀ©³äµ½ÆäËûÈÝÆ÷ ºÍÆäËû×Ö·û ÓÃÓÚ±àд²éÕÒÌæ»»¹¦ÄÜ
'--------------------------------------------------------------------------------------------
' Ïû³ý¿ÕÐÐ , ÀûÓÃinstrº¯Êý, ËÑË÷Îı¾ÀïµÄvbcrlf(»Ø³µ + »»ÐÐ), Á½¸ö»Ø³µÌæ»» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ