AddressOf WndProc使用无效?谢谢!!!!

mybilly2016 2003-03-19 02:29:41
SetWindowLong hw, GWL_WNDPROC, AddressOf WndProc

WndProc原型(在模块中定义的):
Public Function WndProc(ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long

编译报:
AddressOf WndProc使用无效? 的错误
不知是为什么?
以上代码在VB中调试通过
...全文
228 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
SunLightIce 2003-05-19
  • 打赏
  • 举报
回复
rt

5,173

社区成员

发帖
与我相关
我的任务
社区描述
其他开发语言 Office开发/ VBA
社区管理员
  • Office开发/ VBA社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧