I have done some writing to the screen by first getting the desktop window then getting the dc from there
from an MFC app
just make a Call to CWnd* pWnd = GetDesktopWindow();
CDC* pDC = pWnd->GetWindowDC()
then just call any of the CDCs member functions to draw on the desktop window.