当前位置:网站首页>[sciter]: encapsulate the notification bar component based on sciter

[sciter]: encapsulate the notification bar component based on sciter

2022-07-06 22:03:00 Years are precious

# function

  • Regularly close the information of a notice in the notice bar
  • Manually close the information of a notice in the notice bar
  • Click to get the information of a notice in the notice column

# principle

Scheme 1 : The original idea was to create a notification every time it was created window window , But the test found that :

  • After packing , Every time you create a notification , The application will show a window again in the taskbar
  • And when the main window is minimized , Other windows will also appear minimized
  • Every time you create a window , There will be delays
  • CPU High proportion

 Insert picture description here

Key code :

window = new Window({ 
    
  url: __DIR__ + "./index.htm",
  
原网站

版权声明
本文为[Years are precious]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207061346310456.html