I have a rather interesting question about Vista and WPF. Is the 3D-Flip in Vista written in WPF?
Also I would like to write an extension for Vista that would mimick the Expose functionality that OSX and XGL have where all of the windows are shrunk down and shown on the desktop. Can anyone give me some pointers to documentation or anything that could get
me rolling on that? I am not even sure where to look, thanks!
-
-
Check out Microsoft Scalable Fabric on the Microsoft Research site, it does exactly what you're looking for. There might be some docs there.
-
Flip 3D uses the same unmanaged low level code that WPF uses, but the API will be undocumented for v1 I think. It likely also uses a window thumbnail API built on top of that, which I believe will be documented. So you might be able to work with that, though it will also be unmanaged.
-
Flip3D isn't using WPF, but the Desktop Window Manager (the 3D desktop composition engine that makes Flip3D possible) is built on milcore, the unmanaged low-level engine that underlies WPF.
And yes, you can access and use the application thumbnails for your own purposes. You probably can't do this directly from a .Net application, but some PInvoking will get the job done.
The important functions to look at are DwmRegisterThumbnail and DwmUpdateThumbnailProperties. The first will tell the DWM "I want to show the thumbnail for window X on window Y" and the second will cause it to be drawn with the specified properties. Note that the documentation for both these functions (and the rest of the DWM) is still far from complete. -
well, so someone could build a Expose like program with the DWM Thumbnail functions?
That would be cute... -
I was curious about how to do this myself, and tried it out a bit. I posted the result in the Sandbox.
-
Sven Groot wrote:Flip3D isn't using WPF, but the Desktop Window Manager (the 3D desktop composition engine that makes Flip3D possible) is built on milcore, the unmanaged low-level engine that underlies WPF.
And yes, you can access and use the application thumbnails for your own purposes. You probably can't do this directly from a .Net application, but some PInvoking will get the job done.
The important functions to look at are DwmRegisterThumbnail and DwmUpdateThumbnailProperties. The first will tell the DWM "I want to show the thumbnail for window X on window Y" and the second will cause it to be drawn with the specified properties. Note that the documentation for both these functions (and the rest of the DWM) is still far from complete.
Hmmm, interesting...Should be relatively easy to do that but I would like the animation to transition smoothly much like Expose does from True size of window down to the shrunk down size and I know in Win32 and GDI thats just not possible without an insane amount of code and triple buffering, etc. I will look into it...
I am pretty sure I could pull this off if not at least a prototype that I can build off of!! Will keep you posted in this forum!
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.