/////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
//Fill in the window class with the attributes for our main window.//
/////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////

// Useless info. Just set to 0.
wc.cbClsExtra = 0;
// Useless info. Just set to 0.
wc.cbWndExtra = 0;
// The name of our event handler
wc.lpfnWndProc = WndProc;
// A handle to the applications instance.
wc.hInstance = hInstance;
// The handle to to the brush for the windows background.DKGRAY_BRUSH
wc.hbrBackground = hCrossBrush; //(HBRUSH)GetStockObject( BS_HOLLOW );
// A handle to the icon to use for the window.
wc.hIcon =LoadIcon( NULL, IDI_APPLICATION );
// A handle to a smaller version of the apps. icon.
wc.hIconSm = LoadIcon( NULL, IDI_HAND );
// A handle to the cursor to use while the mouse is over our window.
wc.hCursor = LoadCursor(NULL, IDC_CROSS );
// A handle to the resource touse as our menu.
wc.lpszMenuName = NULL;
// The human readable name for this class.
wc.lpszClassName = strAppName;

Thank you. I feel like an IDIOT! NT

Weird problems. More than one instance?

I changed my global variable to the correct name. Almost everything works now except:

if you hold your cursor over the minimize, maximize, or close button. It creates another window partially obscured by the first window that includes my title bar. Then if you do close the window it screws up the desktop and I have to click 'show desktop' several times to get it back to normal.