im having a problem using DrawText right after I create and show a window. What is going on here because when I post the drawtext stuff where the system calls WM_PAINT then everything goes fine what is going on is the text getting written over or what? Here is the code im using...
// ......... stuff before this
// show and update the window
hDC = BeginPaint(g_hWnd, &ps);
SetTextColor(hDC, RGB(255, 0, 0));
DrawText(hDC, "Hello World!", -1, &rect, DT_LEFT);
// stuff after this....
Can anyone help me???
Thanks for anything ahead of time