cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Displaying Buttons
Displaying Buttons
Feb 1, 2013 at 7:19pm UTC
vasya070761
(2)
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?
Feb 1, 2013 at 7:26pm UTC
Niven
(114)
Draw the button last?
Feb 1, 2013 at 7:31pm UTC
vasya070761
(2)
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
Feb 1, 2013 at 7:34pm UTC
Feb 1, 2013 at 9:47pm UTC
guestgulkan
(2942)
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.