Vista Application Thumbnail

By design, the toolbar application thumbnail in Vista does not update when the application is minimized because the minimized window itself does not redraw. For the monitoring application that I had, it would be useful to update the thumbnail of the application while the application is minimized. I am using Delphi 2009. Can anyone suggest a good workaround for this?

Hmcg

+5
source share
6 answers

What is interesting, I think it is possible with somehow the Windows API, at the moment I am not on a Vista computer, but I think that Windows Media Player still shows video playback when it is minimized .

I guess hacks would override the Minimize button and move the form off the screen, and then find that the form is activated again and moves it back to its original location. This would mean that the form is out of sight, but not minimized.

+3
source

- Microsoft, . , , Microsoft :

, API ....

, , , , MSDN DwmSetIconicLivePreviewBitmap DwmSetIconicThumbnail Windows 7. , .

- , Windows Media , . :

WMP , [Desktop Window Manager], . [DirectX] , , , . , , ( , ). , . DwmSetPresentParameters API.

, . DWM .

, , , Windows.

+2

, Delphi 2009: CreateParams, GetDesktopWindow WndParent.

+1

Application.Title , . , ?

0

Delphi 2007 ,

  Application.MainFormOnTaskbar := True;

, . ,

TApplicationEvents OnMinimize, Application.Restore. , ( ), , Z-, " ".

, Windows Vista , . , .

!

0

Application.MainFormOnTaskbar false: Application.MainFormOnTaskbar: = false;

,

http://sourceforge.net/projects/tcycomponents/

0

All Articles