开发工具:
文件大小: 72kb
下载次数: 0
上传时间: 2012-08-09
详细说明: VB写的摄像头家庭监控 Public Function msgproc(ByVal hwnd As Long, ByVal msg As Long, ByVal wp As Long, ByVal lp As Long) As Long On Error Resume Next Dim a As along, t As toint a.x = lp: LSet t = a Select Case msg Case msghinstance.WM_MOUSEMOVE, msghinstance.WM_LBUTTONDOWN, msghinstance.WM_LBUTTONUP, msghinstance.WM_LBUTTONDBLCLK, _ msghinstance.WM_RBUTTONDOWN, msghinstance.WM_RBUTTONUP, msghinstance.WM_RBUTTONDBLCLK, _ msghinstance.WM_MBUTTONDOWN, msghinstance.WM_MBUTTONUP, msghinstance.WM_MBUTTONDBLCLK, _ msghinstance.WM_NCMOUSEMOVE, ms ghinstance.WM_NCLBUTTONDOWN, msghinstance.WM_NCLBUTTONUP, msghinstance.WM_NCLBUTTONDBLCLK, _ msghinstance.WM_NCRBUTTONDOWN, msghinstance.WM_NCRBUTTONUP, msghinstance.WM_NCRBUTTONDBLCLK, _ msghinstance.WM_NCMBUTTONDOWN, msghinstance.WM_NCMBUTTONUP, msghinstance.WM_NCMBUTTONDBLCLK, _ msghinstance.WM_HOTKEY msgproc = msghinstance.gotomsgevent(hwnd, msg, wp, t.x, t.y) Case msghinstance.WM_MOVE, msghinstance.WM_SIZE msgproc = msghinstance.gotomsgevent(hwnd, msg, t.x, t.y) Case msghinstance.WM_KEYDOWN, msghinstance.WM_KEYUP, msghinstance.WM_SYSCOMMAND, msghinstance.WM_COMMAND, _ msghinstance.WM_ACTIVATEAPP, msghinstance.WM_NCACTIVATE, msghinstance.WM_QUERYOPEN msgproc = msghinstance.gotomsgevent(hwnd, msg, wp) Case msghinstance.WM_DRAWCLIPBOARD, msghinstance.WM_QUERYENDSESSION msgproc = msghinstance.gotomsgevent(hwnd, msg) Case msghinstance.WM_GETMINMAXINFO Dim MinMax As MINMAXINFO CopyMemory MinMax, ByVal lp, Len(MinMax) msghinstance.MaxSizeX = MinMax.ptMaxSize.x msghinstance.MaxSizeY = MinMax.ptMaxSize.y msghinstance.MaxPositionX = MinMax.ptMaxPosition.x msghinstance.MaxPositionY = MinMax.ptMaxPosition.y msghinstance.MinTrackSizeX = MinMax.ptMinTrackSize.x msghinstance.MinTrackSizeY = MinMax.ptMinTrackSize.y msghinstance.MaxTrackSizeX = MinMax.ptMaxTrackSize.x msghinstance.MaxTrackSizeY = MinMax.ptMaxTrackSize.y msghinstance.gotomsgevent hwnd, msg MinMax.ptMaxSize.x = msghinstance.MaxSizeX MinMax.ptMaxSize.y = msghinstance.MaxSizeY MinMax.ptMaxPosition.x = msghinstance.MaxPositionX MinMax.ptMaxPosition.y = msghinstance.MaxPositionY MinMax.ptMinTrackSize.x = msghinstance.MinTrackSizeX MinMax.ptMinTrackSize.y = msghinstance.MinTrackSizeY MinMax.ptMaxTrackSize.x = msghinstance.MaxTrackSizeX MinMax.ptMaxTrackSize.y = msghinstance.MaxTrackSizeY ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.