on 2/21/05 12:32 PM, William Yu at william at realsoftware dot com wrote:
> On 2/21/05 11:08 AM, "Christian Schmitz" <support at monkeybreadsoftware dot
> de>
> wrote:
>
>>> 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.
>>
>> I really don't want to do this as the icon is only needed in the IDE and
>> is already included somewhere in the plugin vfs.
>
> Right, but we don't supply any kind of API to get this icon. So you can
> submit a feature request if you want.
>
on 2/21/05 12:29 PM, Alfred Van Hoek at vanhoek at mac dot com wrote:
> Some work, but you could use GetFolderItem, and REALGetFolder (what ever it
> is called) during loading of the plugin, use VirtualVolume dynamic access
> and all what is needed to locate the bmp file, copy it out and load it in
> the plugin according to Williams recommendation of a Windows api. I have
> used this approach successfully.
I should have extended this by saying: successfully in the IDE. If RB6.0
will not support dynamic access in the IDE (RB5-IDE does support it) then a
feature request is in place. If you are going to submit a feature request,
make sure to include dynamic access.
However, I believe RB6 will continue to support dynamic access, which is a
good thing.
Alfred
_______________________________________________
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>
|