Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-08

hmm..

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Shane Miller

H E L L O ! ! !

-- H E L L O ! ! !

--- H E L L O ! !

----H E L L o !!

-----H E L l o !!

-----H E l l o !

-----H e l l o !

-----h e l l o !

----hello!

Man, is it quiet in here!

Anyways, here's a though for someone.
I wanted to use TWinControl .Invalidate to REDRAW my form for me. Howoever, there wasn't any code done for INVALIDATE yet. So, I created a LM_INVALIDATE const and called SendMessage(LM_INVALIDATE,Self,nil) from the procedure. In gtkobject.inc I tried to gtk_signal_emit_by_name a expose event thinking that this wouyld be the best way to force a redraw. I can't get the emit to work because I don't know the exact parameters I should be passing. Could someone look at this for me please.

The Invalidate happens when a user loads a file in the editor and presses PGDN. I recalc the window's virtual position and call an invalidate. Currently, I have commented out the call in TWINCONTROL.INVALIDATE so it doesn't crash. Please pull the latest and give it a look.

Thanks
Shane

Reply by email