Jump to content

window on top and hiding notifications


sjorrel
 Share

Recommended Posts

I'm making a screensaver and its largely done however there are a couple of niggles.

1. How can I prevent a taskbar icon from being created? Its not a major problem but it would be more 'screensavery' if the taskbar icon didn't appear at all.

2. Even though I've used $WS_EX_TOPMOST for the GUI notifications from other software (particularly traytips) still pop up and are visible when it is running. Any way of stopping that?

Thanks

Edited by sjorrel
Link to comment
Share on other sites

1. #NoTrayIcon should make your systemtray icon not appear.

2. Hide the taskbar.

Opt('WinTitleMatchMode', 4)
BlockInput(1)
Sleep(2000)
WinSetState('Classname=Shell_TrayWnd', '', @SW_HIDE)
BlockInput(0)
; Running screensaver
Sleep(10000)
WinSetState('Classname=Shell_TrayWnd', '', @SW_SHOW)
Edited by MHz
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...