Profile Picture

Strange skin of Nevron's print preview dialog. How to get rid of that?

Posted By Iryna Borzenko 12 Years Ago

Strange skin of Nevron's print preview dialog. How to get rid of...

Author
Message
Iryna Borzenko
questionmark Posted 12 Years Ago
View Quick Profile
Junior Member

Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 17, Visits: 1
I'm working with Nevron's print preview dialog and faced with very strange behavior of this dialog window. When I display this dialog box I see a green frame around it and strange header style (see attachment). So question is: HOW TO RID OF THAT, AND SET STANDARD WINDOWS STYLE?

It can be reproduced on next OS's:
- Windows 7 only if you are using Basic or High Contrast Themes
- Windows Server 2003
- Maybe others...

I tried next code, but it didn't help:
NSkinManager.Instance.Skin = null;
NUIManager.Palette.Scheme = ColorScheme.WindowsDefault;
printManager.ShowPrintPreview();

Please HELP!!!

Attachments
Untitled.png (63 views, 26.00 KB)
Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Iryna,

The frame that you see is default frame style of our NForm control which is part of our UI controls.

To display the default frame you need to set the PredefinedFrame to None:
NUIManager.SetPredefinedFrame(PredefinedFrame.None);

Best Regards,
Nevron Support Team



Iryna Borzenko
Posted 12 Years Ago
View Quick Profile
Junior Member

Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)Junior Member (17 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 17, Visits: 1
Thank you very much. It helped me!



Similar Topics


Reading This Topic