This method does not do anything in Windows CE. It is included for compatibility with existing code.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
void LPtoDP ( LPPOINT lpPoints, int nCount = 1 ) const;
void LPtoDP ( LPRECT lpRect ) const;
void LPtoDP ( LPSIZE lpSize ) const;
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 method does not do anything with the values you pass it.
CDC::DPtoLP, CDC::GetWindowOrg, CDC::GetWindowExt