Profile Picture

NTaskDialog text color not from assigned NPalette

Posted By Craig Swearingen 11 Years Ago
Author
Message
Craig Swearingen
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 99, Visits: 654

The NTaskDialog appears to be hard-coding the foreground text color to be black for both labels and buttons instead of using the palette's WindowText color.  To reproduce just start the "Nevron User Interface - "Part of Nevron .NET Vision" - C# Examples program that comes with the toolkit.  Select Edit -> Palette and choose Blue or Longhorn.  Notice all the buttons and labels in the application are now a white foreground color.  Select C# Examples -> Custom Forms -> Task Dialog - Examples.  Click the "Standard Message Box" button to show an NTaskDialog.  Notice the labels and buttons are all black (regardless of the palette you choose).  I see this on the 13.11.26.12 build.

I realize I can not use the NTaskDialog to get around this but as it has so many nice features is there a way I could use it and get the correct colors or can this be fixed?






Similar Topics


Reading This Topic