how do i animate an object in 1 window and the rest being static

Hi all,
Having some problem…

I am trying to create 4 different window to project a single object and one of the window have the object animating.

My problem is that if i tried to include the glIdleFunc() in the main under the animating program, all the rest of the window will callback the animating function when they are idle.

I have create another function to animate and draw this object within the push and pop of the matrix,

glRotatef(angle, 1.0,1.0,0.0);

Can anyone help please?

I am not sure if this is the kind of thing you are talking about but here is a multiple viewport tutorial from Nehe