problem with display

hi!
if i turn off my ipaq and turn it on again while running my "gapi-programm" i get a problem.
my display is not cleaned right. i can see a rest
of my gapi on my display.
what can i do?
if i turn off my ipaq and turn it on again while running my "gapi-programm" i get a problem.
my display is not cleaned right. i can see a rest
of my gapi on my display.
what can i do?