TStatic needs MouseEvents
Posted on 1997-05-03
I have a little problem using OWL 5.0
I use a recource with an static-frame. In this static-frame I draw a picture. In the code I use a TDialog for the dialog and a TStatic for the static-frame. This works OK.
I want the static to have MouseInput, But it just can't get the TStatic to respond to MouseEvents. I guess the problem is that the static doesn't get input-focus.
In fact I want to create a child-window in a dialog from recource-data (with etched border), so that I can use TClientDC etc for the drawing. The user must be able to click on the drawing (for selection). TStatic does the
job, except for the MouseInput
So my question is: How to get TStatic to accept MouseEvents?