群内容整理:右下角信息栏闪烁图标频繁导致崩溃问题解决方法
By
admin
at 2018-01-14 • 0人收藏 • 1255人看过
var hDataServerIcon = win.image.createIcon("\res\data_server.ico")var hDesableServerIcon = win.image.createIcon("\res\desable_server.ico")var hEnableServerIcon = win.image.createIcon("\res\enable_server.ico")//托盘图标var tray = win.util.tray(mainForm,,"软件数据服务");tmid = mainForm.addtimer( 1/*毫秒*/, function(hwnd,msg,id,tick){//定时执行代码 tray.icon = hDataServerIcon; win.delay(1) tray.icon = hDesableServerIcon; win.delay(1) tray.icon = hEnableServerIcon; });
1 个回复 | 最后更新于 2018-01-14
登录后方可回帖
来自:daheian