Grey out a custom drawn control

Hello,

Does anyone know of an easy technique to grey out a block in a wx.DC?

For instance I have some custom control that draws itself in the box
(x1,y1,x2,y2). After the control is drawn I want to do something to
grey-out all the drawing in that box.

-Paul

Lanier, Paul wrote:

Hello,

Does anyone know of an easy technique to grey out a block in a wx.DC?

For instance I have some custom control that draws itself in the box
(x1,y1,x2,y2). After the control is drawn I want to do something to
grey-out all the drawing in that box.

Take a look at wx.lib.imageutils.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!