how add 1 option on System Menu?

i need add a Allways Top option on System Menu.
using GetForegroundWindow() give me the activated window.
using GetSystemMenu() i can get the System Menu Handle(HMENU).
SetWindowPos() with HWND_TOPMOST, flag, the window will be top most.

like you see i can make my own code for it. but theres just 1 small problem: i must create a new application for it :(
i don't wan't a new aplication for Run after windows. so what you can advice me?
i don't wan't a new aplication for Run after windows. so what you can advice me?


I don't understand the problem. Could you rephrase it ?
instead create an exe for run on windows startup, is there another way for add that option on System Menu?
seems that there isn't a dll or register key or folder that i can change the System Menu.
Topic archived. No new replies allowed.