Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define values for WinAPI functions
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00526989
Message ID:
00526999
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
You can get the list of the constants in VB format from VS Api Text Viwer.
Public Const COLOR_APPWORKSPACE = 12
Public Const COLOR_BACKGROUND = 1
Public Const COLOR_BTNFACE = 15
Public Const COLOR_BTNHIGHLIGHT = 20
Public Const COLOR_BTNSHADOW = 16
Public Const COLOR_BTNTEXT = 18
Public Const COLOR_CAPTIONTEXT = 9
Public Const COLOR_GRAYTEXT = 17
Public Const COLOR_HIGHLIGHT = 13
Public Const COLOR_HIGHLIGHTTEXT = 14
Public Const COLOR_INACTIVEBORDER = 11
Public Const COLOR_INACTIVECAPTION = 3
Public Const COLOR_INACTIVECAPTIONTEXT = 19
Public Const COLOR_MENU = 4
Public Const COLOR_MENUTEXT = 7
Public Const COLOR_SCROLLBAR = 0
Public Const COLOR_WINDOW = 5
Public Const COLOR_WINDOWFRAME = 6
Public Const COLOR_WINDOWTEXT = 8
>To all,
>
>I'm trying to get the OS's color values for various components with the
>
>declare integer GetSysColor in win32api integer
>
>function. Problem is the Help system references the components with predefined values (i.e. COLOR_APPWORKSPACE, COLOR_ACTIVECAPTION) and I can't find the include file that has the contstant values for these defines. Any ideas on where this mystery file exists, and more importantly, how I could go about FINDING other related information?
>
>TIA,
>Thom C.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform