Using Win32 functions in Visual FoxPro Image Gallery
System Information
..msdn
ExpandEnvironmentStrings
GetComputerName
GetComputerNameEx
GetComputerObjectName
GetCurrentHwProfile
GetKeyboardType
GetNativeSystemInfo
GetProductInfo
GetSysColor
GetSystemDirectory
GetSystemInfo
GetSystemMetrics
GetSystemRegistryQuota
GetSystemWow64Directory
GetUserName
GetUserNameEx
GetVersion
GetVersionEx
GetWindowsDirectory
IsNetworkAlive
SetComputerName
SetSysColors
SystemParametersInfo
Code examples:
Changing system colors
Using GetSysColor
GetSysColor
    Add comment     W32 Constants      Translate this page
Retrieves the current color of the specified display element. Display elements are the parts of a window and the Windows display that appear on the system display screen
Code examples:
Using GetSysColor
Changing system colors
Declaration:
DWORD GetSysColor(
    int  nIndex     // display element
);
FoxPro declaration:
DECLARE INTEGER GetSysColor IN user32 INTEGER nIndex
Parameters:
nIndex
Specifies the display element whose color is to be retrieved
Return value:
If the function succeeds, the return value is the red, green, blue (RGB) color value that specifies the color of the given element
My comment:
Some constants are not availble for Win9 or otherwise for WinNT. The "reverse" function is SetSysColors. Note the difference: GetSysColor restores one color at a time; SetSysColors function allows to change several colors at once
Word Index links for the GetSysColor :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-14 12:00:00
Modified: 2001-11-26 16:02:24
Visited in last 7 days: 23
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.158.212.93)
7 sec.Function: 'mixerSetControlDetails'
14 sec.Function: 'SystemParametersInfo'
20 sec.Function: 'waveOutReset'
25 sec.Function: 'GetUserGeoID'
31 sec.Function: 'SetFocus'
38 sec.
Function group: 'Unicode and Character Set'
44 sec.Function: 'UpdateResource'
50 sec.Function: 'SetSuspendState'
56 sec.Function: 'SetComputerName'
1.03 min.Function: 'GetProductInfo'
Google
Advertise here!