This member function of the CDC class does not do anything in Windows CE. It is included for compatibility with existing code.
void DPtoLP ( LPPOINT lpPoints, int nCount = 1 ) const;
void DPtoLP ( LPRECT lpRect ) const;
void DPtoLP ( LPSIZE lpSize ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
In Windows CE, you cannot change the window and viewport origins or extents, which means that device coordinates are always the same as logical coordinates. Because of this, the CDC::DPtoLP member function does not do anything with the values you pass it. It is only included in Windows CE for compatibility with existing MFC code.
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::LPtoDP, CDC::GetWindowExt, CDC::GetWindowOrg