realbasic-nug
[Top] [All Lists]

Win32 BITMAP to REALbasic Picture?

To: realbasic-nug at lists dot realsoftware dot com
Subject: Win32 BITMAP to REALbasic Picture?
From: "Kevin Wilson" <kevinwilson1997 at hotmail dot com>
Date: Mon, 31 May 2004 00:34:14 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
If I have the handle to a Windows "Device Dependant Bitmap" (DDB / hBITMAP) or a Windows "Device Independant Bitmap" (DIB), is there a way I can convert that directly to a REALbasic "Picture" object in memory without first writing out the DDB or DIB to file, then loading it back to REALbasic using something like "FolderItem.OpenAsPicture"?

If so, how?  Can you provide some sample code?

Thanks very much!

___________________________
Kevin Wilson
The VB Zone
VBZ at thevbzone dot com


_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>
  • Win32 BITMAP to REALbasic Picture?, Kevin Wilson <=