Forum: Win32/Win64 API (native code)
Delphi
by Wapiti,
18. Jul 2008
Danke.
hData := clipboard.GetAsHandle(CF_DIB);
pbih := PBITMAPINFOHEADER(GlobalLock(hData));
geht fehlerfrei.
Mein Ursprungsproblem funktioniert aber so doch noch nicht, wie ich es dachte. Ich werde mal dazu einen neuen Eintrag aufmachen.
Forum: Win32/Win64 API (native code)
Delphi
by Wapiti,
18. Jul 2008
Ich habe mit
Image1.Picture.Bitmap.SaveToClipboardFormat(myFormat, hData, aPalette);
Clipboard.SetAsHandle(myFormat, hData);
ein Bitmap in der Zwischenablage gespeichert.
Ein Zugriff auf
hData // direkt z.B. vor Clipboard.SetAsHandle