Re: bug handling xp visual styles

Alexander Olk <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1091727804.3832.17.camel@Dellkiste>
Am Do, den 05.08.2004 schrieb Pedro Cardoso um 0:34:
> Here is a sample program that shows a few controls, but when i add a
> app.exe.manifest file under Windows xp so the controls can have a xp
look
> the controls appear invisible and some only appear when i move the
mouse on
> its supposed location. Hope it can be fixed

Hmm, I don't know if that is a wx.NET problem or a wxWidgets problem or
a WindowsXP :) problem...

Change the parent of the other controls like button1 or comboBox1 to
pictureBox3 and it will work.

For example:

comboBox1 = new ComboBox(pictureBox3, ID_COMBOBOX1,
"comboBox1", new Point(32, 32), new Size(232, 21), comboBox1Items);

If you remove pictureBox3 completely all other controls are drawn
correctly...

-- 
Alexander Olk



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.