I guess what you are saying is that you want to have an idle state reaction in your program when there has been no mouse or keyboard interaction by the user with your application? If so, the easiest way to do this would be use the normal UI design model (RunUserInterface and callback functions). Have a flag that is reset when ever there is a user interaction. Say, like (int idle = 0). Then, have a timer running and have it checking that flag and if it is set to 1, it sets it back to 0 and resets the time elapsed. Then have every callback for your controls set the flag to 1. That way any time a user interacts with your callbacks the flag is reset to 1 and the timer can reset the elapsed time. If the elapsed time passes 600 seconds, then put up the panel.
Best Regards,
Chris Matthews
National Instruments