Re: RichEdit - Paint Event

new topic     » goto parent     » topic index » view thread      » older message » newer message

> 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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu