Using Win32 functions in Visual FoxPro Image Gallery
Color
..msdn
GetNearestColor
Code examples:
Using GetNearestColor
GetNearestColor
    Add comment     W32 Constants      Translate this page
The GetNearestColor function returns a color value identifying a color from the system palette that will be displayed when the specified color value is used
Code examples:
Using GetNearestColor
Declaration:
COLORREF GetNearestColor(
    HDC  hdc,    // handle of device context  
    COLORREF  crColor     // color to be matched 
);
FoxPro declaration:
DECLARE INTEGER GetNearestColor IN "gdi32";
    INTEGER hdc,;
    INTEGER crColor
Parameters:
hdc
Identifies the device context.

crColor
Specifies a color value that identifies a requested color
Return value:
If the function succeeds, the return value identifies a color from the system palette that corresponds to the given color value
Word Index links for the GetNearestColor :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-15 12:00:00
Modified: 2001-11-26 16:02:26
Visited in last 7 days: 17
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.80.10.56)
6 sec.Function: 'SQLSetConfigMode'
12 sec.Function: 'GdipDeleteMatrix'
19 sec.Function: 'listen'
26 sec.Function: 'RegQueryValueEx'
31 sec.Function: 'SQLFetch'
41 sec.Function: 'SHGetFolderPath'
48 sec.Function: 'SetupDiDestroyClassImageList'
54 sec.Function: 'WinHttpQueryHeaders'
1.02 min.Function: 'CryptGenKey'
1.13 min.Function: 'EnumPrinterDrivers'
Google
Advertise here!