AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Object-Pascal / Delphi-Language Delphi Why MagSetImageScalingCallback function fails when is executed in new desktop?
Thema durchsuchen
Ansicht
Themen-Optionen

Why MagSetImageScalingCallback function fails when is executed in new desktop?

Ein Thema von flashcoder · begonnen am 21. Mai 2018 · letzter Beitrag vom 25. Mai 2018
 
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, 12: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 12:20 Uhr)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:01 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz