使用SendMessage函数来发相应的消息.
解决方案 »
- 【基础问题】怎么通过双击TDBGridEh,修改其内容?
- 如何提高Delphi读写数据库的速度?
- 谁有Crystal Reports 9 VCL - supports Delphi 7,发一份给我,收到即结贴
- 因支付问题流失台湾用户,请大家提提销售建议,顺便征集台湾地区合作伙伴
- 请教控件的自动生成和释放?
- 关于Delphi7
- 编译出错!系统提示“could not create output file”我该如何解决?
- paradox表的最大容量
- 如何获取sqlServer用触发器写的异常
- 用TQUERY过滤的麻烦,请指教!!!
- Delphi的DBGrid可以变色吗?受人之托,谢谢啦!
- 分段取数据的问题!请教各位!!!!!
BYTE bVk, // virtual-key code
BYTE bScan, // hardware scan code
DWORD dwFlags, // flags specifying various function options
DWORD dwExtraInfo // additional data associated with keystroke
); ParametersbVkSpecifies a virtual-key code. The code must be a value in the range 1 to 254. bScanSpecifies a hardware scan code for the key. dwFlagsA set of flag bits that specify various aspects of function operation. An application can use any combination of the following predefined constant values to set the flags: Value Meaning
KEYEVENTF_EXTENDEDKEY If specified, the scan code was preceded by a prefix byte having the value 0xE0 (224).
KEYEVENTF_KEYUP If specified, the key is being released. If not specified, the key is being depressed.
dwExtraInfoSpecifies an additional 32-bit value associated with the key stroke. Return ValuesThis function has no return value. ResAlthough keybd_event passes an OEM-dependent hardware scan code to Windows, applications should not use the scan code. Windows converts scan codes to virtual-key codes internally and clears the up/down bit in the scan code before passing it to applications.
An application can simulate a press of the PRINTSCREEN key in order to obtain a screen snapshot and save it to the Windows clipboard. To do this, call keybd_event with the bVk parameter set to VK_SNAPSHOT, and the bScan parameter set to 0 for a snapshot of the full screen or set bScan to 1 for a snapshot of the active window.
是在该页面里面有个键盘么?
如果全是web的形式,用javascript不就可以了?