Background Color keeps changing

I'm making a program where one can move a circle using w/a/s/d (without 'gravity'). Initially, the rectangle (the boundary) comes along with the circle but as soon as I type w/a/s/d, the entire background color changes to white (from black). I tried using setbkcolor(BLACK) but this doesn't seem to work. If you require the code, i can paste it here....... PLEASE HELP ME!!!!!

thnx in advance

btw, i use turbo c++
It should be like this:
1
2
3
4
5
  HDC	hDC;
  hDC=GetWindowDC(this->Handle);
  SetBkColor(hDC,0x00FF8899);//0x00RRBBGG
  TextOut(hDC,100,100,"abcd",4);
  UpdateWindow(this->Handle);
Topic archived. No new replies allowed.