delphi - Adding functionality to popup taskbar window -
not sure how phrase that, win7/win8 allows pinning taskbar. when app there running , hover mouse, window pops showing minature application screen.
using winamp , mp3 file playing, instead of showing app form, pops window small navigating bar allow pausing, fast-forward etc play.
i similar application, not pause anything, i'd add working functionality popup window few buttons.
how go that?
most of things describe (including buttons on preview window) done using itaskbarlist3 com interface in windows 7 , later.
there's question showing progress bar in taskbar; 2 answers there have relevant links, including examples , open-source delphi components. note may more difficult implement such old version of delphi; more recent versions have definitions , types available in rtl simplify working com greatly.
as remy points out in comments, xe6 includes new vcl component, ttaskbar (see note), makes adding these buttons extremely simple. drop component on form, add buttons using ttaskbar.taskbarbuttons property editor, assigning taction , icon each button, , you're done.
note: ttaskbar documentation link void of meaningful content @ point, component in newly released xe6 (released week). i'm adding point of reference future readers; time see it, link have useful details.
Comments
Post a Comment