How to create own control in Windows 7 Aero task preview?

后端 未结 3 1992
野趣味
野趣味 2020-12-30 12:32

I\'ve got two questions about Windows 7 task preview. In Delphi I\'d like to create my own buttons inside the area highlighted in the screenshot below.

1) Is it poss

相关标签:
3条回答
  • 2020-12-30 12:45

    Yes you can, check these components Windows 7 Components from Daniel Wischnewski to see an example.

    this is a screen-shot from the demo app included with the components.

    alt text

    0 讨论(0)
  • 2020-12-30 12:49

    They are called Thumbnail toolbars. I'm not aware of any Delphi code to wrap this up, but I'm probably wrong! If I'm right, then you'll need to declare some COM interfaces and drive them appropriately - not really too difficult.

    0 讨论(0)
  • 2020-12-30 12:52

    No, those are defined by Windows (and always will be buttons) and you can provide the icons that appear on them. Here is a white paper on the API to do it.

    • http://msdn.microsoft.com/en-us/magazine/dd942846.aspx#id0420081

    • http://blogs.microsoft.co.il/blogs/sasha/archive/2009/02/26/windows-7-taskbar-thumbnail-toolbars.aspx

    0 讨论(0)
提交回复
热议问题