I need an Expose clone that will work on Windows 2K. I am not interested in "upgrading" to Windows XP. Please help!
[Request] Expose clone that works on Windows 2K
The fundamental issue here for 2k is the windows API.
You can happily do a screen capture on 2k, and restrict it to the area of a window, but if that window is occluded in some way, you're buggered.
XP has a new function PrintWindow that gets around this and actually captures the window, hidden or not.
I would guess most expose clones use this function, as it is night on impossible to capture the app images cleanly otherwise.
on 2k you *could* do the following:
1) capture the topmost window
2) minimize
3) repeat until all windows are captured
4) do the expose thing
5) restore all windows to original positions and bing selected window to the top...
but it would look ugly as sin, not capture anything off the edge of the screen, and prolly take a while to execute.
doesn't w2k have a WM_PRINT too?
Yes, but if the application doesn't handle the wm_print message properly, then you get a just the window border/system drawn components...
IE. anything owner drawn is unlikely to show up.
tho I have just done a bit more research and found this:
http://www.fengyuan.com/article/wmprint.html
which explains the limitations of wm_print, and a has a workaround for NT based systems...
so maybe it could be done...
I really appreciate your help! Now if I can just find a willing programmer....
Aqua-Soft Forums