cristian.muller
August 11th, 2005, 06:38 AM
Hello,
i want to change the color and background of the font in the CEdit control.I saw in MSDN that he CEdit class is derived from CWnd.
In CWnd i found a function that returns me the device context for the CWnd client area(CWnd::GetDC;CDC* GetDC( ); )..
The following problem appears:when i mapped out a var CEdit m_myEdit and tried to acces m_myEdit.GetDC the compiler outputs:
error C2039: 'GetDc' : is not a member of 'CEdit'
How do i resolve this?
i want to change the color and background of the font in the CEdit control.I saw in MSDN that he CEdit class is derived from CWnd.
In CWnd i found a function that returns me the device context for the CWnd client area(CWnd::GetDC;CDC* GetDC( ); )..
The following problem appears:when i mapped out a var CEdit m_myEdit and tried to acces m_myEdit.GetDC the compiler outputs:
error C2039: 'GetDc' : is not a member of 'CEdit'
How do i resolve this?