NeuralJack Posted August 3, 2008 Posted August 3, 2008 I use a few API like GetPixel and BitBlt. However these do not work correctly on an Aero window. First, is there any way for me to detect if the user is using Vista in Aero Mode from my code? Second, is there any way to use those functions or functions like it to analyze pixels from Aero windows? Thanks for any help Quote Currently Using: Visual Basic.Net 2005, .Net Framework 2.0
Administrators PlausiblyDamp Posted August 3, 2008 Administrators Posted August 3, 2008 Are you using these APIs just within your own windows or are you accessing the pixels of other process' windows? You could always call the DwmEnableComposition API and disable it while your application is running. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
NeuralJack Posted August 3, 2008 Author Posted August 3, 2008 I'm using these on other applications. A screenshot prog must do the same thing honestly. Many of those work with Vista Aero. I think before Aero most screenshot progs used BitBlt. Quote Currently Using: Visual Basic.Net 2005, .Net Framework 2.0
Recommended Posts