OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on July 06, 2009, 02:29:42 AM

Title: DrawText
Post by: Fred Tomke on July 06, 2009, 02:29:42 AM
Hello,

I've attached an example. I want a modeless form with a title bar without close button. Thats why I added a picture at the top and I try to add a text using drawtext. Unfortunately, it does not work.

- calling from an other OpenDCL form showing this form takes a long time.
- OnPaint-event will be called very very often
- Although the text is drawn in OnPaint event the text doesn't appear.

What am I doing wrong?

Fred
Title: Re: DrawText
Post by: owenwengerd on July 09, 2009, 10:44:22 AM
Try your code with the text to draw hardcoded instead of looked up from the passed argument. This worked for me.