How to DestroyWindow without repainting the window rectangle that is being destroyed.

  • Thread starter Thread starter lawlist
  • Start date Start date
L

lawlist

Guest
**Q**: How to DestroyWindow without repainting the window rectangle that is being destroyed?

For lack of knowing a better option, I am first calling MoveWindow (hwnd, 0, 0, 0, 0, FALSE) -- the last argument being do not repaint -- before calling DestroyWindow. However, I have a hunch that there is a more eloquent solution than MoveWindow (0/0/0/0 no_repaint_p) followed by DestroyWindow.

Continue reading...
 
Back
Top