 |
GetMapMode ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves the current mapping mode. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
int GetMapMode(
HDC hdc // handle to device context
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetMapMode IN gdi32;
INTEGER hDC
|
 |
 |
 |
| Parameters: |
 |
hdc
[in] Handle to the device context. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value specifies the mapping mode. |
 |
 |
| Usage: |
 |
#DEFINE MM_TEXT 1
#DEFINE MM_TWIPS 6
LOCAL hWindow, hDC
hWindow = _screen.HWnd
hDC = GetWindowDC(hWindow)
? GetMapMode(hDC)
= ReleaseDC(hWindow, hDC)
|
 |
 |
| My comment: |
 |
See also: SetMapMode
|
 |
 |
| Word Index links for the GetMapMode : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2007-04-27 09:41:33 | | Modified: | 2007-06-11 16:38:52 | Visited in last 7 days: 13 |