How to write text to desktop
-
Can anyone show mw how to write text to desktop, something like ative calendar. Thank in advance.
use transparent windows for example! Don't try it, just do it! ;-)
-
Can anyone show mw how to write text to desktop, something like ative calendar. Thank in advance.
-
use transparent windows for example! Don't try it, just do it! ;-)
-
An alternative is use
GetDc(GetDsktopWindow())->DrawText("skjjkajsa",x,y,whatever the params....)
hi, i has just done like this void CTestDlg::OnOK() { // TODO: Add extra validation here CWnd *wnd = this->GetDesktopWindow(); CRect rect; rect.top=300; rect.left=300; rect.bottom=rect.top+200; rect.right=rect.left+200; CDC *pDC = wnd->GetDC(); pDC->SetTextColor(RGB(255,255,255)); pDC->DrawText("test",rect,DT_CENTER); // CDialog::OnOK(); } but nothing happend.