Multiple windows - please help !!!

Hello, I’m trying to realize two different RC in 2 child windows.
But in the second window is always apperaing the same grpahics as in the first.
The problem is maybe in the IdleLoop, because I’m defining it in the next manner:

__fastcall TStatusForm::TStatusForm(TComponent* Owner)
: TForm(Owner)
{
Application->OnIdle = IdleLoop1;

}

__fastcall TStatusForm::TStatusForm(TComponent* Owner)
: TForm(Owner)
{
Application->OnIdle = IdleLoop1;

}

please help me, how it is possible to make simple graphics in two different windows. If you now any link with a simple source code how to do it please give me !

THANX A LOT !!!

Sorry, the second IdleLoop is defined :

__fastcall TBPMForm::TBPMForm(TComponent* Owner)
: TForm(Owner)
{
Application->OnIdle = IdleLoop2;

}