How do you get an ActiveCaptionText color at maximum window magnification?
Color is restored when the window is restored:
alt text http://i39.tinypic.com/2s627nl.jpg
But this is not the color when the window is maximized:
alt text http://i40.tinypic.com/2zz3ql4.jpg
How do you get an active ActionCaptionText ?
Note: Same question for ActiveCaption , InactiveCaption and InactiveCaptionText .
There seems to be something with:
VisualStyleRenderer vs = new VisualStyleRenderer(VisualStyleElement.Window.MaxCaption.Active); label1.ForeColor = vs.GetColor(ColorProperty.TextColor);
But I canβt make it work. it returns black for both Caption and MaxCaption :
alt text http://i41.tinypic.com/3994h.jpg
Aero. . Windows.
Source: https://habr.com/ru/post/1711589/More articles:Can I use a column number instead of a column name in which the query selection condition in SQL Server 2005? - sqlhow to restart one instance winforms application - c #Visual Studio testing tools compared to third-party tools - unit-testingNHibernate mapping for System.Drawing.Color - nhibernateIs there a way to terminate a hanging process in Powershell? - powershellSignature text active color - change detection (in .Net) - user-interfaceOpening an Excel distribution sheet in .NET on x64 - .netHow to change / usr / bin / env? - ruby ββ| fooobar.comStop ColdFusion from sorting my structures / arrays - coldfusionExcel Interop: formatting footers - formatAll Articles