pbrowne@comp.dit.ie wrote:
I would like to draw some lines using the MS Windows version of PolyML. I have looked at the documentation for the Windows programming interface, but I am unsure as to how to handle WM_PAINT, BeginPaint and EndPaint in PolyML. What I have in mind is something like the C code below.
Have you had a look at the source for mlEdit? It is in the mlsource package at http://prdownloads.sourceforge.net/polyml/mlsource.420.tar.gz?download in the Extras/Win/Examples folder. It has a windows procdure and you should be able to modify that to handle WM_PAINT.
By the way, you sent your message from a different email address than the one you used to subscribe to the list which was why it was held.
David.