Article ID: 946074 - Last Review: December 13, 2007 - Revision: 1.2 The display on a Windows Vista-based computer may become corrupted when you use the GetDC(NULL) function in a WPF-based applicationSYMPTOMSConsider the following scenario:
CAUSEThis problem may occur if the Windows Aero feature is enabled. The Windows Aero feature makes extensive use of double buffering to draw on the screen.
WORKAROUNDTo work around this issue, disable the Windows Aero feature. For example, set the Color Scheme option to Windows Vista Basic. To do this, follow these steps:
MORE INFORMATIONFor more information about the GetDC function, visit the following MSDN Web site: http://msdn2.microsoft.com/en-us/library/ms533241.aspx
(http://msdn2.microsoft.com/en-us/library/ms533241.aspx)
APPLIES TO
| Article Translations
|
Back to the top


