The more advanced taskbar in windows 7 has the capability to add a toolbar in the thumbnail preview.
This example put two buttons in the thumbnail, and the main window will display a text when one of these buttons is displayed.
(remember to press register before they appear)
(483.82 KB Downloaded 3548 times)
Windows 7 Thumbnail Toolbar example in Embarcadero RAD Studio 2010