I'm creating a floating toolbar that sits on the desktop, it's a row of vertical icons and when one is clicked, another toolbar pops horizontally from the side of it (like in Photoshop / Paintshop Pro), but I want this toolbar to be hidden at the side of the screen until my mouse moves to the edge, then the toolbar slides into view.

How would I achieve this?

please be gentle, i'm a n00bie