Axim X30 What is it with Toolbar control?

G

George Nentidis

Hi there all.
I spend almost half a day searching in newsgroups and "known issues", why
the ToolBar buttons don't show.
After working through this, I don't seem to figure out what the correct
background color must be, in the images
used for the buttons. I have tried silver(192,192,192), white but nothing.
What is the color treated as transparent on the ToolBar?
I have tried using icons, filled the background with the transparent color,
but that makes the background look black.
I have an Axim X30 with SP2 installed.

Thank you all in advance for any help

George
 
P

Peter Foot [MVP]

If you add icons to the ImageList in the designer they will lose their
transparency. The workaround is to add the items to the ImageList within
your code e.g. after the InitializeComponent call. This is because the
designer incorrectly adds the resources as Images rather than Icons and they
lose their transparency information.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top