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