Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi WM_GETIMAGE von Static? (https://www.delphipraxis.net/32618-wm_getimage-von-static.html)

toms 26. Okt 2004 11:37


WM_GETIMAGE von Static?
 
Hi,

Wie es möglich, von einem Static Control einer anderen Anwendung, welches ein Bild enthält,
das Bild zu bekommen?

So ne Art WM_GETIMAGE?

toms 26. Okt 2004 11:44

Re: WM_GETIMAGE von Static?
 
Ok, habe mal rausgefunen, welche Message geschickt werden muss.

Delphi-Quellcode:
imageHandle = SendMessage(handle, STM_GETIMAGE, IMAGE_BITMAP, 0);
Wie zeige ich nun das Bild in einem TImage an?

mirage228 26. Okt 2004 12:25

Re: WM_GETIMAGE von Static?
 
Hi,

ich glaube es reicht lediglich der "Handle" Eigenschaft von "TImage" Dein Handle zuzuweisen.

mfG
mirage228


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:28 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 by Thomas Breitkreuz