Find out how many colors in a Bitmap

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I need to know how many colors in the color table are actually used.

Do I need to use Windows API?

I been searching the Bitmap doc and can't find a property that would help.

Is there a way other than Windows API to get that information?



Thanks


PS
If I type: Bitmap1.Entries.
Intelisense gives many options that do not appear as Bitmap.Entries
properties.
I assume those are general array properties and are not specific for
Bitmap.Entries.
Right?


.



Relevant Pages

  • Re: pyqt, windows xp and systray applications.. possible?
    ... > I've been searching long, and found some information, but still not ... I don't know enough windows API.. ... I recommend joining the pyqt mailing list: ... Prev by Date: ...
    (comp.lang.python)
  • pyqt, windows xp and systray applications.. possible?
    ... I've been searching long, and found some information, but still not ... I read,that you might have to use winEventFilter(), and do some magic ... I don't know enough windows API.. ... Prev by Date: ...
    (comp.lang.python)
  • Re: Find out how many colors in a Bitmap
    ... I meant Windows Struct not API ... I been searching the Bitmap doc and can't find a property that would help. ... Is there a way other than Windows API to get that information? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Using class methods as callbacks for Windows API?
    ... but after lots and lots more searching I finally found it :-) ... > as callbacks for windows API calls, and I did have it at one stage, but ... > the life of me I can't seem to find it now. ... > I have tried google, ...
    (borland.public.delphi.language.objectpascal)