![]() |
using drawtext()
i have used DrawText() to display time init.i have used DT_CENTER which is display time in center even if window is minimised or maximised.
but how to display it to right side of window but not on the minimise,maximise and close buttons. i tried DT_RIGHT =it is displaying on those 3 buttons (minimise,maximise and close buttons) Code:
void CMainFrame::OnTimer(UINT_PTR nIDEvent)If i use pWnd->SetWindowText(strTime) ,time is displayed on ActiveWindow(GetForegroundWindow()). what is the problem. plzzzzzz help me solve this problem |
| All times are GMT +5.5. The time now is 02:21. |