DrawText

Started by Fred Tomke, July 06, 2009, 02:29:42 AM

Previous topic - Next topic

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

Try your code with the text to draw hardcoded instead of looked up from the passed argument. This worked for me.
Owen Wengerd (Outside The Box) / ManuSoft