Transparent wxStaticText

Questions about wxWidgets running on MS.NET, mono or Portable.NET ? Ask it here !
yeyouqun
In need of some credit
In need of some credit
Posts: 6
Joined: Mon Aug 02, 2010 6:46 am
Contact:

Transparent wxStaticText

Postby yeyouqun » Mon Aug 02, 2010 7:01 am

Hi,
I am implementing a gauge control with a percentage indicator at the center of the gauge.The indicator is wxStaticText, but the color of background is not the same as gauge's,so the static text windows has a obvious rect.I have tried some methods,such as override the MSWControlColor of wxControl and add the EVT_ERASE_BACKGROUND to the event table, but the problem remains as before.

Who can help me with this, I have lingered this for days.

My platform is windows xp,x64,visual studio 2009.
ISD

Return to “wx.NET”

Who is online

Users browsing this forum: No registered users and 2 guests