it's a long while i work on a sidebar software for Windows, and right now it's almost completed.
I need to cure some details.
First of all, the run at startup. I added the executable's correct path to the registry, the program itself sets as current directory the executable location as soon as it starts, in order to find the libraries etcc. Still, without any apparent reason, sometimes it doesn't run upon startup.
Second question - less relevant - can i make it not be considered by alt+f4 when "on focus" like the regular start bar? I already made it be a process and not an app, so it doesn't appear in the taskbar and it's windows are not listed under alt+tab. Still i don't find out how to make it ignore alt+f4 (not blocking the alt+f4 command, it should just jump over it and reach "next" program, if that makes sense).
Why should it "sometimes simply crash" and sometimes not? O.o
(2) alt+f4-ing Explorer Windows only closes focused window, does notclose the taskbar for example, which i guessed would just be a borderless window. And it should be just a process like any other... I'd like it to not affect/be ignored my sidebar the same way.
I guess stuff like stardock's toolbars isn't affected either - can't test since it's paied, i'd never spend money in something i can make alone xD
The point 2 is:
Explorer.exe is a process which has many Windows, of which one is the taskbar (at least i'm thinking it is). I don't even know if the taskbar can actually be set on focus. Anyway if you repeteadly alt+f4 until every window is closed, the taskbar will still stay there. Also alt+f4 on an Explorer window which is not the taskbar only closes that specific window, and does not terminate the entire process.
I'd need my sidebar to behave like that taskbar.