hi
i hv this is application that works similar to a graph and it shows blocks of data one below the other in rectangular boxes of varying sizes and colors. the data and lines are all drawn on a panel using the paint method. there is a vertical scroll bar and the corresponding data is painted when moving up or down.
the issue i face is when i open another window (for eg: calculator) on top of this application. when i drag the calculator around the screen, the application starts to repaint and trailing lines of the calculator appear all over. it takes few seconds before the application repaints and the calculator trail lines disapper....
how can i 'disable' the application window when it loses focus?
i hv this is application that works similar to a graph and it shows blocks of data one below the other in rectangular boxes of varying sizes and colors. the data and lines are all drawn on a panel using the paint method. there is a vertical scroll bar and the corresponding data is painted when moving up or down.
the issue i face is when i open another window (for eg: calculator) on top of this application. when i drag the calculator around the screen, the application starts to repaint and trailing lines of the calculator appear all over. it takes few seconds before the application repaints and the calculator trail lines disapper....
how can i 'disable' the application window when it loses focus?