AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 10:02

Parameter dieser Suchanfrage:

Suche in Thema: How to save cursor from resource?
Suche alle Beiträge, die von "WojTec" geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 3 von insges. 3 Treffern
Suche benötigte 0.002s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Object-Pascal / Delphi-Language

    Re: How to save cursor from resource?

      Delphi
      by WojTec, 20. Sep 2014
    Sure. This is standard SQL cursor attached by XE6 (raw stream and extracted by another tool).

    Let's repeat: icon or cursor created from this stream by CreateIconFromResourceEx() can be loaded to display, but if I want to save it as valid icon or cursor, TIcon raises exeption I told when cursor is created.
  • Forum: Object-Pascal / Delphi-Language

    Re: How to save cursor from resource?

      Delphi
      by WojTec, 19. Sep 2014
    Question propably should sound: "How to save hIcon to file?" :?:
  • Forum: Object-Pascal / Delphi-Language

    How to save cursor from resource?

      Delphi
      by WojTec, 19. Sep 2014
    I have tree with resources from executable. I'm getting it as below:

    ICO.Handle := CreateIconFromResourceEx(Memory, Size, &Type = Longint(RT_ICON), $30000, 0, 0, 0);



    If I want to display it (eg. assign TIcon to TBitmap), this working for both icons and cursors, but if I want to save it, this working only for icons and for cursors raises exception class EInvalidGraphic with message...


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=WojTec&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=181945
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:13 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz