开发者

reading a pixel from an overlapped window (windows xp)

Vista and Win7 use DWM, thus, I can read any pixel from any top-level window, no problems. However, in XP, if the window is overlapped (by another top-level window), bye bye - can't read anything.

So, the option is - use WM_PRINT, which kinda' sucks, because I need to scrape the screen for probably 10 windows, every 100ms or so - not cool.

Is there any other way of reading a 开发者_运维百科pixel except for GetPixel, or another workaround for this?

Best, John


You are trying to support a ten your old operating system. Moore's law has solved the memory problem since then. If you really want to support it then you'll have to do this a different way. Not entirely a bad idea, Aero is optional and may be off.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜