i have a wierd problem now, i call the loader function on WM_CREATE which does the following

Code:
void Load_Bmp_Globals()
{
	MAINBMP = LoadBitmap(h_Inst, "IDBMAIN");

	hdcWindow = GetDC(Main_Hwnd);
	hdcMemory = CreateCompatibleDC(hdcWindow);

	SelectObject(hdcMemory, MAINBMP);
}
then on WM_CLOSE i call the unloader which does the following

Code:
void Unload_Bmp_Globals()
{
	DeleteDC(hdcMemory);

	delete MAINBMP;
	delete hdcMemory;
	delete hdcWindow;
}
the problem is now i get a really really wierd reaction. now after i execute my program, it loads fine but when i move the window to another location on my screen, the bitblt gets blitted to the desktop in the location that the program orginally started up at and my actual form goes blank... if click where the rewind button is supposed to be, nothing appears on the main form but in the image thats being blitted to the forms original location, the proper function happens! LOL do u know whats wrong ??