I'm used MFC Dialog, Both InvalidateRect(WindowHandle, NULL, false); & UpdateWindow(WindowHandle); commands are not working. WindowHandle means? & also arguments size are vary in that method.

In my application, I'm getting continuous data from the OnTimer() Method & shake the window to plot the data.

B'cos I don't know how to call the Paint method?