Einzelnen Beitrag anzeigen

flashcoder

Registriert seit: 10. Nov 2013
83 Beiträge
 
#3

AW: Why MagSetImageScalingCallback function fails when is executed in new desktop?

  Alt 21. Mai 2018, 13:17
  1. What does your GetLastError() return?
  2. Im sure you saw the
    Zitat:
    The MagSetImageScalingCallback function is deprecated in Windows 7 and later, and should not be used in new applications.
  3. Your example is missing your CreateDesktop shenanigans. As far as I recall, additional desktops are very limited. Example: They cannot have Aero features (and probably other DWM stuff).
GetLastError() returns 50 - ERROR_NOT_SUPPORTED - The request is not supported.

Really, this about DWM is true. And even that MagSetImageScalingCallback work, but MagSetWindowSource will fail because this api only works with Aero Theme enabled.

Geändert von flashcoder (21. Mai 2018 um 13:20 Uhr)
  Mit Zitat antworten Zitat