简体   繁体   中英

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

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 possible to create my own controls in the task preview window (in Windows 7) like eg Winamp can do ? Or it's just some limited multimedia extension ?

2) If it's possible to draw there own buttons where should I start ? Example or Windows API guide-post would be helpful for me.

替代文字

Thanks a lot in advance

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.

替代文字

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM