MFC 프로그래밍 error 1. TextOut
CClientDC dc(this); dc.SetTextColor(RGB(255,0,0));dc.TextOut(10,30,"빨간색의 텍스트"); dc.SetBkColor(RGB(0,0,255));dc.TextOut(10,50,"파란바탕의 텍스트"); dc.SetBkMode(TRANSPARENT);dc.TextOut(10,70,"바탕이 투명한 텍스트"); error C2664: 'BOOL CDC::TextOutW(int,int,const CString &)' : cannot convert parameter 3 from 'const char [1]' to 'const CString &'1> Reason: cannot convert from 'const char [1]' to 'const CString'1> C..
더보기