Possible Duplicate:
How to dock an application in the Windows desktop?
I need the behavior of window like Google Desktop does.
Main window of Google Desktop can be attached to the left or to the right of desktop and DOESN’T overlap desktop icons.
Icons automatically move from this place!
If maximize another window it uses only available space and doesn’t use area took by attached Google Desktop window.
It work on Windows XP as well
What API does Google Desktop use for such behavior?
The UI element you’re talking about is an application bar, or appbar for short. It’s created and operated by using the API function `SHAppBarMessage’.
For instance, to create a new appbar, you sent it the
ABM_NEWmessage with a message identifier Windows can use to communicate with it. To position the bar along one edge of the desktop, you send it theABM_SETPOSmessage. There are quite a few messages defined; they’re listed on the page I linked above.