IonicWind Software

IWBasic => General Questions => Topic started by: CodeTRUCKER on January 08, 2008, 11:28:26 PM

Title: Getting Windows theme system color
Post by: CodeTRUCKER on January 08, 2008, 11:28:26 PM
I have an app that has buttons on it to show the state of the option.  I can code the necessary color changes, but I would like the color to return to the standard Windows color when the option is at rest.  Can someone point me to the command/syntax to make this happen?  I searched help, but either I didn't find it or I didn't know what I was looking at. :-[
Title: Re: Getting Windows theme system color
Post by: sapero on January 09, 2008, 03:52:51 AM
Maybe you're searching for GetSysColor (http://msdn2.microsoft.com/en-us/library/ms724371(VS.85).aspx), or GetThemeColor (http://msdn2.microsoft.com/en-us/library/bb773397(VS.85).aspx) function?
Title: Re: Getting Windows theme system color
Post by: CodeTRUCKER on January 09, 2008, 03:56:04 AM
Quote from: sapero on January 09, 2008, 03:52:51 AM
Maybe you're searching for GetSysColor (http://msdn2.microsoft.com/en-us/library/ms724371(VS.85).aspx), or GetThemeColor (http://msdn2.microsoft.com/en-us/library/bb773397(VS.85).aspx) function?

You are correct.  Thank you!