Issue #218: replace GetWindowDC