Delphi 修正EmbeddedWEB不能使用中键滚动的bug
来源:互联网 发布:淘宝无限流量手机骗局 编辑:程序博客网 时间:2024/05/17 03:10
Modified : /EmbeddedWB/EmbeddedWB.pas
{$IFDEF Enable_MouseWheelFix}function MouseHookProc(nCode: Integer; wParam: WPARAM; lParam: LPARAM): LRESULT; stdcall;var hwnd: THANDLE; WndClass: string;begin Result := CallNextHookEx(MouseHook, nCode, wParam, lParam); case nCode < 0 of TRUE: Exit; FALSE: begin if (wParam = WM_MOUSEWHEEL) then begin hwnd := WindowFromPoint(Mouse.CursorPos); if hwnd <> 0 then begin //hwnd := GetParent(hwnd); ///屏蔽这一句后正常 if hwnd <> 0 then begin SetLength(WndClass, 25); SetLength(WndClass, GetClassName(hwnd, PChar(WndClass), Length(WndClass))); if WndClass = 'Shell DocObject View' then Windows.SetFocus(hwnd); end; end; end; end; end;end;{$ENDIF}
- Delphi 修正EmbeddedWEB不能使用中键滚动的bug
- 修正TEmbeddedWEB不能使用中键滚动的bug
- Untiy CurvedUI 的使用的bug修正
- 修正dwr中addRows方法的bug
- 修正dwr中addRows方法的bug
- <总结>delphi WebBrowser控件的使用中出现的bug
- IE中伪类:hover的使用及BUG,以及如何在IE6中进行修正(CSS)
- 修正bug的方法
- CCEditBox的bug修正
- Delphi 6 SOAP 源码中的BUG修正
- ReportBuilder 中ppMemo不支持中文换行的Bug 的修正
- 修正IEWebControls中TreeView的一处bug
- 修正了cgit 项目中makefile的一个Bug
- CnPack VCL组件库中 TCnButtonEdit 组件的BUG修正
- Fleaphp 数组辅助文件中 array_to_tree 的bug修正
- 修正IE下使用CSS属性overflow的bug
- Delphi组件Indy 10中修正IdFTP不能续传问题
- 修正XPMenu的两个Bug
- (Linux 技术)Fedora 16下编译无线网卡驱动成功
- fprintf函数和fscanf函数
- 九度的《剑指Offer:名企面试官精讲典型编程题》 面试题 解题报告
- 数据结构面试之十一——排序2(归并、快速、堆排序)
- [博弈] poj 1067 #裸的Wythoff Game
- Delphi 修正EmbeddedWEB不能使用中键滚动的bug
- Fedora17 x64 安装android sdk 出现的问题.
- Dom4j把xml转换成Map(非固定格式)
- java中的基本数据类型与封装类
- 一年半拿下五个证!
- 具动画效果的图片转换器ImageSwitcher
- Android开发中的进程与线程概念
- 让按钮上面的文字滚动起来
- putc & getc