Re: RichEdit - Paint Event
- Posted by Don <eunexus at yahoo.com> Dec 16, 2004
- 606 views
> Problem program: > -- code generated by Win32Lib IDE v0.18.22 <SNIP> Work around... use an event handler instead
procedure RichEdit2_onPaint (atom w, atom a, sequence Params ) if Params[1] = WM_PAINT then paintCount += 1 setText(StatusBar3, sprintf("Paint Count: %d", paintCount)) end if end procedure setHandler( RichEdit2, w32HEvent, routine_id("RichEdit2_onPaint"))
Cheers! Don Phillips - aka Graebel National Instruments mailto: eunexus @ yahoo.com