//
//
//
//
//
//
//
//
//
//
软件Tags:
易语言中文脚本输入提示源码
系统结构:子程序_命令索引,取光标的屏幕坐标,子程序_打开数据库,GetCaretPos,ClientToScreen,送消息,GetForegroundWindow,
======窗口程序集1
| |
| |------ _编辑框代码编辑_按下某键
| |
| |------ 子程序_命令索引
| |
| |------ _编辑框代码编辑_内容被改变
| |
| |------ 取光标的屏幕坐标
| |
| |------ _时钟1_周期事件
| |
| |
======脚本管理
| |
| |------ _窗口_命令编辑_创建完毕
| |
| |------ 子程序_打开数据库
| |
| |------ _列表框_命令显示_列表项被选择
| |
| |------ _组合框_语法分类_列表项被选择
| |
| |
======调用的Dll
| |
| |---[dll]------ GetCaretPos
| |
| |---[dll]------ ClientToScreen
| |
| |---[dll]------ 送消息
| |
| |---[dll]------ GetForegroundWindow
调用的DLL命令:
.DLL命令 GetCaretPos, 整数型, "user32.dll", "GetCaretPos", , 光标
.参数 p, Point
.DLL命令 ClientToScreen, , "user32.dll", "ClientToScreen", , 光标
.参数 id, 整数型
.参数 p, Point
.DLL命令 送消息, 整数型, , "SendMessageA"
.参数 hwnd, 整数型
.参数 msg, 整数型
.参数 wpram, 整数型
.参数 lparam, 整数型
.DLL命令 GetForegroundWindow, 整数型, , "GetForegroundWindow", , 光标
