VB中的要使用键盘上的功能键如何表示? 请问VB中的要使用键盘上的功能键如何表示? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 keydown事件中根据keycode值进行不同处理 比如print screen键Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)Const theScreen = 1Const theForm = 0Private Sub Command1_Click()Call keybd_event(vbKeySnapshot, theForm, 0, 0)'若theForm改成theScreen则Copy整个ScreenDoEventsPicture1.Picture = Clipboard.GetData(vbCFBitmap)End Sub 今天算是正常开市了,又再暂别csdn,散分.... MSHFlexGrid列标题筛选 vb里的sstab控件到底怎么用? 有关[安全证书]的问题!救助! 帮忙写个计算器 + - * / = 按钮的 代码 MDI的菜单问题 问一个对我来说,巨难的问题 OCA与OCX有何不同 解决马上解帐! 如何将一个文件写入SQL Server中的Image字段中 我用vb webclass写了一个小程序,编译运行报错,请看 怎样输出数据库字段中为空的内容? 50求与WEBBROWSER相关的解答
Const theScreen = 1
Const theForm = 0
Private Sub Command1_Click()
Call keybd_event(vbKeySnapshot, theForm, 0, 0)
'若theForm改成theScreen则Copy整个Screen
DoEvents
Picture1.Picture = Clipboard.GetData(vbCFBitmap)
End Sub