Foxtable(狐表)用户栏目专家坐堂 → QQClient


  共有2310人关注过本帖平板打印复制链接

主题:QQClient

帅哥哟,离线,有人找我吗?
武汉老杨
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:婴狐 帖子:56 积分:605 威望:0 精华:0 注册:2016/7/21 12:54:00
QQClient  发帖心情 Post By:2016/8/14 23:25:00 [只看该作者]

如帮助中,http://www.foxtable.com/webhelp/scr/3012.htm

在菜单中提示新消息:

是否可以将 消息 按钮(offline) 不放在配置栏中,而是放在主窗口 中?

如果可以的话:

'此段代码用于显示OpenQQ的未读消息
Static
 OpenQQ As RibbonMenu.Button
Static
 LastTime As Date
If
 OpenQQ Is Nothing Then
    OpenQQ = ConfigBar.Items("OpenQQ")

End
 If
Dim
 txt As String
If
 QQClient.Ready
    If QQClient.UnreadCount > 0 Then
        txt = "(" & QQClient.UnreadCount & 
"
)"
    End 
If

End
 If
If
 OpenQQ.Text <> txt Then
    OpenQQ.Text = 
txt

End
 If
If
 OpenQQ.Text > "" Then
    Dim ntp As timeSpan = Date.Now - LastTime
    If ntp.TotalSeconds >= 0.5 Then
        LastTime = Date.Now
        If OpenQQ.ForeColor = Color.Red Then
            OpenQQ.ForeColor = Color.Transparent
        Else
            OpenQQ.ForeColor = Color.Red
        
End If
    End 
If

End
 If

这段代码在哪里写?  该怎么更改?


谢谢!


 回到顶部