This member function of the CDC class does not do anything in Windows CE. It is included for compatibility with existing code.
void LPtoDP ( LPPOINT lpPoints, int nCount = 1 ) const;
void LPtoDP ( LPRECT lpRect ) const;
void LPtoDP ( 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::LPtoDP 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::DPtoLP, CDC::GetWindowOrg, CDC::GetWindowExt