Using Win32 functions in Visual FoxPro Image Gallery
Coordinate Space and Transformation
..msdn
ClientToScreen
DPtoLP
GetGraphicsMode
GetMapMode
GetWorldTransform
LPtoDP
ScreenToClient
SetGraphicsMode
SetMapMode
Code examples:
SetMapMode
..msdn    Add comment     W32 Constants      Translate this page
Sets the mapping mode of the specified device context.
Code examples:
Declaration:
int SetMapMode(
    HDC hdc,        // handle to device context
    int fnMapMode   // new mapping mode
);
FoxPro declaration:
DECLARE INTEGER SetMapMode IN gdi32;
    INTEGER hdc, INTEGER fnMapMode

Parameters:
hdc
[in] Handle to the device context.

fnMapMode
[in] Specifies the new mapping mode.
Return value:
If the function succeeds, the return value identifies the previous mapping mode.
My comment:
The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device"s x and y axes.

See also: GetMapMode
Word Index links for the SetMapMode :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2007-04-27 09:43:49
Modified: 2007-04-27 09:45:41
Visited in last 7 days: 7
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.199.178)
13 sec.Function: 'MoveWindow'
27 sec.Function: 'GetThreadPriority'
40 sec.
Function group: 'Service'
53 sec.
Function group: 'Hook'
1.1 min.Function: 'CeDeleteFile'
1.32 min.Function: 'GdipGetDC'
1.48 min.Function: 'ReleaseDC'
1.72 min.Function: 'OpenEventLog'
1.92 min.Function: 'GetRawInputDeviceInfo'
2.12 min.Function: 'ReadConsole'
Google
Advertise here!