当前位置:首页 » 服务器技术
开发技术指南» 文章正文
    引言: 用API (GetAsyncKeyState)实现,在WIN 2
 

 

 ·在msn机器人里看blog    »显示摘要«
    摘要:我在msn机器人里加了简单的读取rss的代码,你可以把你经常访问的blog地址的rss记录到msn机器人里然后以后每次只要在msn机器人里输入命令就可以检索最新的blogger日志(类似newzcrawler的功能,当然比他简单多了)。不过现在还在制作中,暂时每个人只能记录一条rss地址,返回日志标题也只能返回前3条。继续修改中~~~。下面是机器人的命令 |0_0| 我是机器人瞄\r\n :-d我新学会了blogger最新日志检索功能,只要你把经常去的......
    摘要:using system;using system.windows.forms;using system.drawing;using system.drawing.printing;using system.data;using system.collections;using datalibrary; namespace controllibrary{ /// <summary> /// datagrid打印 /// </summar......


如何识别键盘左右的shift,Ctrl或Alt键

用api (getasynckeystate)实现,在win 2k,xp 下有效:

【相关文章:Oracle专家调优秘密(二)

private declare function getasynckeystate lib "user32" (byval vkey as long) as integer 【扩展阅读:Oracle专家调优秘密(一)

【扩展信息:Oracle专家调优秘密(三)

private const vk_lshift = &ha0

private const vk_rshift = &ha1

private const vk_lctrl = &ha2

private const vk_rctrl = &ha3

private const vk_lmenu = &ha4

private const vk_rmenu = &ha5

private sub form_keydown(keycode as integer, shift as integer)

if keycode = vbkeyshift and shift = vbshiftmask and (getasynckeystate(vk_lshift) and &h8000) then msgbox "you click the left shift"

if keycode = vbkeyshift and shift = vbshiftmask and (getasynckeystate(vk_rshift) and &h8000) then msgbox "you click the right shift"


...   下一页
 ·学习 vi —— “学习清单”式    »显示摘要«
    摘要:原始链接:http://www.gentoo.org/doc/en/vi-guide.xml 学习 vi —— “学习清单”式 1、起点 介绍 这篇指南要向你介绍 vi ——一个强大的可视化编辑器——的使用方法。通过一种特殊的循序渐进的“作弊纸”模式,这篇指南让你在短时间内迅速成为 vi 高手。在这篇指南里面,你将学到如何浏览、编......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE