Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine themed control border color
Message
From
26/06/2005 15:44:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Determine themed control border color
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Miscellaneous
Thread ID:
01026569
Message ID:
01026569
Views:
63
I'm building a composite control and would like to match the border color that my textbox controls get via the current XP theme.

The value returned by a textbox's BorderColor property only applies to non-themed controls. If themes are enabled, then the border color is based on the current XP theme.

Is there a Win32 API GetSysColor() constant I can use to determine this info? Or should I be using another (VFP or Win32 API) function?

My workaround solution is to use Point() to find this information but I'm hoping there's a more professional way to retrieve this type of information.

Thank you,
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Next
Reply
Map
View

Click here to load this message in the networking platform