I have the following code:
Issue is button face color changes correctly in both enabled and disabled state but text color does not change in disabled state.Code:bool var; m_button.EnableWindow(var); If(var) { m_button.SetFaceColor((RGB(0,255,0),true); m_button.SetTextColor((RGB(255,255,255))); } else { m_button.SetFaceColor((RGB(0,0,255),true)); m_button.SetTextColor((RGB(255,0,0))); }