So lets say I have made my self a program that sits on the top of the screen and is allways on top.

How would I resize the desktop so that when a window is maximised it will not use the same desktop space as my program.

Can you help me ?
Thanks for your time.
Phil