Windows Taskbar has a significant behavior. It is attached to a bottom (top, left, ...) of your desktop so that it occupies this area and prevents other windows from overlapping it.
When some window is not maximized it goes below the Taskbar as if Taskbar is topmost. (*)When some window is maximized it fills the area that is not occupied by Taskbar.
I must make my window topmost(too easy) and provide the (*) behavior.
You can see the same behavior with ICQ, MSN, Miranda when they are attached to the top-right corner of the desktop.
I need my window to behave like this. What WinAPI functions should I use?