Jump to content
Sign in to follow this  

close toolbar / run app on shutdown

Recommended Posts


Hi guys,

First of all some background on the application. I think this is different from a standard application because its actually a toolbar that is integrated into explorer.exe

It includes an exe to "show" or "hide" the toolbar if you dont want to right click the taskbar. Since i dont know of any commands to "uncheck" a toolbar i suppose the exe is the easier way to go.

I already tried group policy and the exe is being executed too late.

Here is what i have drafted so far...i spent the last 2hours trying examples from the forum and none seem to work.

The run exe method might not work cause i am aware that applications cant be launched while shutdown is active.

I'm clueless right now, please help!!



GUIRegisterMsg($WM_QUERYENDSESSION, "_ShutdownInitiated")


While 1



Func _ShutdownInitiated($hWndGUI, $MsgID, $WParam, $LParam)

(run exe or command to disable toolbar before all other apps)

Return True


Edited by kwapster

Share this post

Link to post
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

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.