Using Win32 functions in Visual FoxPro Image Gallery
Coordinate Space and Transformation
..msdn
ClientToScreen
DPtoLP
GetGraphicsMode
GetMapMode
GetWorldTransform
LPtoDP
ScreenToClient
SetGraphicsMode
SetMapMode
Code examples:
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2007-04-27 09:41:33
Modified: 2007-06-11 16:38:52
Visited in last 7 days: 12
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.145.16.43)
30 sec.Function: 'GdipCreateBitmapFromHICON'
53 sec.Function: 'CeRapiInitEx'
1.4 min.Function: 'GetForegroundWindow'
3.58 min.Function: 'FileIconInit'
4 day(s)Function: 'GetBinaryType'
 
Function group: 'Window Class'
 
Function group: 'Color'
 Function: 'accept'
 Function: 'GetMenuItemInfo'
 Function: 'FindResource'
Google
Advertise here!