Displaying Buttons

If some GDI object is painted ontop of the button, the button will be 'painted over' and would not visualize back untill you click on it.

How could I refresh a button to make it be on top of the screen again?
Draw the button last?
This won't happen once, this will be continued regularly (im making some graphical application), so am i supposed to remake button every time something gets on its area?

Any functions that can refresh the button?
Last edited on
It may be worth a look at your code.
But in the meantine you can check out the WS_CLIPCHILDREN and WS_CLIPSIBLINGS window styles.

They are explained here;
http://msdn.microsoft.com/en-gb/library/windows/desktop/ms632600%28v=vs.85%29.aspx
Topic archived. No new replies allowed.