//
//
//
//
//
//
//
//
//
//
软件Tags:
易语言超级列表框可编辑模块源码
系统结构:初始化,获取表头高度,被双击,显示编辑框,隐藏编辑框,GetItemTop,消息钩子回调,GetWindowRect,SendMessage,ReleaseCapture,SetCapture,GetScrollPos,SetWindowLong,CallWindowProc,SetFocus,
======程序集1
| |
| |------ _启动子程序
| |
| |------ _临时子程序
| |
| |
======超级列表框可编辑
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 初始化
| |
| |------ 获取表头高度
| |
| |------ 被双击
| |
| |------ 显示编辑框
| |
| |------ 隐藏编辑框
| |
| |------ GetItemTop
| |
| |
======窗口程序集1
| |
| |------ _窗口1_创建完毕
| |
| |------ 消息钩子回调
| |
| |------ _超级列表框1_被双击
| |
| |------ _编辑框1_失去焦点
| |
| |------ _编辑框1_按下某键
| |
| |
======调用的Dll
| |
| |---[dll]------ GetWindowRect
| |
| |---[dll]------ SendMessage
| |
| |---[dll]------ ReleaseCapture
| |
| |---[dll]------ SetCapture
| |
| |---[dll]------ GetScrollPos
| |
| |---[dll]------ SetWindowLong
| |
| |---[dll]------ CallWindowProc
| |
| |---[dll]------ SetFocus
调用的DLL命令:
.DLL命令 GetWindowRect, 整数型, "user32", "GetWindowRect", , 获得整个窗口的范围矩形,窗口的边框、标题栏、滚动条及菜单等都在这个矩形内 非零表示成功,零表示失败。会设置GetLastError
.参数 hwnd, 整数型, , 想获得范围矩形的那个窗口的句柄
.参数 lpRect, RECT, , RECT,屏幕坐标中随同窗口装载的矩形;
.DLL命令 SendMessage, 整数型, , "SendMessageA"
.参数 hWnd, 整数型
.参数 Msg, 整数型
.参数 wParam, 整数型
.参数 lParam, 整数型
.DLL命令 ReleaseCapture, 整数型, "user32", "ReleaseCapture"
.DLL命令 SetCapture, 整数型, "user32", "SetCapture"
.参数 窗口句柄, 整数型
.DLL命令 GetScrollPos, 整数型, "user32.dll", "GetScrollPos"
.参数 hwnd, 整数型
.参数 nBar, 整数型
.DLL命令 SetWindowLong, 整数型, "user32", "SetWindowLongA", , 在窗口结构中为指定的窗口设置信息 指定数据的前一个值
.参数 hwnd, 整数型
.参数 nIndex, 整数型
.参数 dwNewLong, 整数型
.DLL命令 CallWindowProc, 整数型, "user32", "CallWindowProcA", , 将消息传答窗口函数
.参数 lpPrevWndFunc, 整数型
.参数 hwnd, 整数型
.参数 msg, 整数型
.参数 wParam, 整数型
.参数 lParam, 整数型
.DLL命令 SetFocus, 整数型, "user32", "SetFocus"
.参数 hWnd, 整数型
