when ever i use something like:
System::Drawing::Pen ^pen=
gcnew System::Drawing::Pen(System::Drawing::Color::Black, 100);
grfx = System::Drawing::Graphics::FromHwnd(
this->Handle);
grfx->DrawLine(pen, 1, 1, 1 ,20);
Threading::Thread::Sleep(1000);
grfx->Clear(System::Drawing::Color::White);
it draws ok. but when ever i move the app offscreen the line that i just drawn, dissapears. how do i fix this?
thanks in advanced, Dan.