On 2/20/05 7:44 AM, "Christian Schmitz" <support at monkeybreadsoftware dot de>
wrote:
> I make my Mac control and can get my Picture directly from the resource
> fork via GetPicture.
>
> But does someone have a code snipped to load a picture (given the ID
> used in the Mac version) to load the same picture from the Windows
> Plugin?
Are you talking about in C++? You'll have to compile the resource into the
DLL and then use LoadBitmap to get the picture. For this you'll also want
to implement the DLLMain function and store the instance handle.
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|