CDC::GetMapMode

This member function retrieves the current mapping mode.

Syntax

int GetMapMode ( ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

The only mapping mode Windows CE supports is MM_TEXT, so the CDC::GetMapMode member function always returns MM_TEXT unless an error occurs, in which case it returns 0.

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes