reading a file

Hi,
I am new to opengl. I a menu read, stop. when I press the mouse =>read it reads only for that event . How can read continuosly. how about glIdleFunc ?

thanks for the help

Why don’t you just set a flag when the button/menu callback is activated?

gav