Skip to main content

append_line

Function append_line 

Source
pub unsafe fn append_line(dialog: HWND, control: u16, line: &str)
Expand description

Adds a line at the end of a multi-line edit control, which scrolls to it. Setting the whole text again for each line made a long run’s log quadratic: 20 s for 1 500 lines, measured on the control itself.