> This is kind of what I am looking for, but my documents dont mention
HBitmap
> as one of the types of handle that you can use DuplicateHandle for.
Are you sure
> that you can do this?
I wasn't sure, no. (I'm never really sure of anything)
But it turns out this is the trick windows uses to
pass bitmaps via the clipboard.
See http://support.microsoft.com/support/kb/articles/Q106/3/86.asp
for some discussion about this.
In fact - passing it via the clipboard might be another
way to solve your problem provided you don't have some
restriction about not interfering with the existing
clipboard contents.
-ns
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/