P
PureCode
Hi,
I have a UserControl that derives from my own base control (for drawing
purposes). I add a number of controls (label, panel) to this UserControl
using code (this.Controls.Add).
When i try to detect a click on the entire control, it only works when the
mouse is outside of the child controls i added.
this.Click += ..etc and i only get a response from the eventhandler when i
click outside the label and panel (can't detect clicks on the panel either,
due to the fact there is an image drawn over it (transparent image)..
driving me up the walls )
Any way to solve this problem?
Thanks,
Pure
I have a UserControl that derives from my own base control (for drawing
purposes). I add a number of controls (label, panel) to this UserControl
using code (this.Controls.Add).
When i try to detect a click on the entire control, it only works when the
mouse is outside of the child controls i added.
this.Click += ..etc and i only get a response from the eventhandler when i
click outside the label and panel (can't detect clicks on the panel either,
due to the fact there is an image drawn over it (transparent image)..
driving me up the walls )
Any way to solve this problem?
Thanks,
Pure