关键词搜索

源码搜索 ×
×

如何屏蔽Real控件的右键菜单??

发布2006-11-30浏览1261次

详情内容

Private Sub Form_Load() RealAudio1.Source = "rtsp://localhost/test.rm" RealAudio1.SetWantErrors True '设置为TRUE,播放器不会自动弹出错误提示窗口 RealAudio1.SetWantMouseEvents True '安置响应滑鼠事件 End Sub Private Sub RealAudio1_OnErrorMessage(ByVal uSeverity As Integer, ByVal uRMACode As Long, ByVal uUserCode As Long, ByVal pUserString As String, ByVal pMoreInfoURL As String, ByVal pErrorString As String) Select Case uRMACode Case -2147221496 MsgBox "文件没找到" Case -2147221433, -2147221428, -2147221417, -2147217468 MsgBox "网络繁忙连接不上服务器" Case Else MsgBox "未知错误" End Select End Sub Private Sub RealAudio1_OnRButtonDown(ByVal nFlags As Long, ByVal nX As Long, ByVal nY As Long) MsgBox "右键禁止" 'RealAudio右键选单一出来就被这个警告窗口给搞掉了 End Sub

相关技术文章

点击QQ咨询
开通会员
返回顶部
×
微信扫码支付
微信扫码支付
确定支付下载
请使用微信描二维码支付
×

提示信息

×

选择支付方式

  • 微信支付
  • 支付宝付款
确定支付下载