wordpad: Fix failing GetDlgItem that forced screen repaint.
The rebar is the parent of the ruler, not the top level window, so
GetDlgItem was returning NULL when the window is resized. As a result the
screen was being invalidated and repainted instead of the ruler.
Showing
Please
register
or
sign in
to comment