How to know when my window's focus statues is changed

Hi,
I am making a desktop application using the C++ console with "CMU Graphics Library version 1.2 ,
It is an Event-Handler Application, I want to know when my window is backed from minimization, so I can make a refresh for the window's elements,
Can any one help ?!
Topic archived. No new replies allowed.