Force Paint event to a "null" device
-
Hello, I need an object which is inherited from a control.to simulate some things. The problem is that the object makes the last initializations during the OnPaint event. But in my case I don't want to display the object on the screen, because I need it only as helper object. Is there an way to do that? Regards Hansjörg Edit/Delete Message
-
Hello, I need an object which is inherited from a control.to simulate some things. The problem is that the object makes the last initializations during the OnPaint event. But in my case I don't want to display the object on the screen, because I need it only as helper object. Is there an way to do that? Regards Hansjörg Edit/Delete Message
Visible = false; or Height = 0; Width = 0; or dont add the control to the Controls collection