PDA

View Full Version : Multiple windows - please help !!!



ondrej
06-02-2003, 04:15 AM
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 !!!!

ondrej
06-02-2003, 04:17 AM
Sorry, the second IdleLoop is defined :

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

}