Re: Bernie Ryan: using output from win32eru

new topic     » goto parent     » topic index » view thread      » older message » newer message

Judith Evans wrote:
> 
> 
> I've been sent a bitmap and icon built from your win32eru package with
> instructions
> how to use it. I'm placing the icon on a window where I have used
> setWindowBackColor.
> In my code I have setTransparentColor(color) where color is the same value as
> the setWindowBackColor. The icon and bitmap do not seem to respond to
> setTransparentColor
> because they show the graphic in a white box. Can you advise me what I need
> to do?
> 
> Thanks,
> 
> judith evans

Hi judith:

   Win32eru does not change anything in the bitmap so I don't
think that the problem is being caused by win32eru.

It could be the icon that you are using does not contain
the color bits for your screen setting.

First try an icon that you know works by loading an ico file
and displaying it. Then try using that with win32eru.

You could try a different icon; one that contains more than one version of
the icon. Then you will get more than one icon generated by win32eru
Then try each of the icons. When windows statically links an icon
it selects the best fit out of a group of icons that are contained
in icon ico file's group of icons. Win32eru splits these out of the
group and creates an entry for each one in the group if
they exist in the icon res.

It could also be something to do with which resource compiler
you are using so try a different 32-bit resource compiler.

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu