Classification Banner
Classification Banner
(OP)
thread779-1636126: Classification Banner for Windows XP desktop
I've been digging around trying to find a simple solution to the problem the OP posted. As for the why this is needed vs. putting a label on the monitor, many systems can be KVM'd (approved KVM for multiple classifications of course). Our solution for a long time has been a product from the Air Force research labs called JEDI. Recently they have said they will need to start charging for the software so I rolled my own.
The trick is a simple windows form with a label on it. I'll be adding additional code to set the background color and label text based on registry settings but this is a 90% solution for anyone else that needs it.
I've been digging around trying to find a simple solution to the problem the OP posted. As for the why this is needed vs. putting a label on the monitor, many systems can be KVM'd (approved KVM for multiple classifications of course). Our solution for a long time has been a product from the Air Force research labs called JEDI. Recently they have said they will need to start charging for the software so I rolled my own.
The trick is a simple windows form with a label on it. I'll be adding additional code to set the background color and label text based on registry settings but this is a 90% solution for anyone else that needs it.
CODE --> C#
private void Form1_Load(object sender, EventArgs e) { int w = SystemInformation.VirtualScreen.Width; //int h = SystemInformation.VirtualScreen.Height; this.BackColor = Color.Green; this.Width = w +20 ; this.AllowTransparency = true; this.SizeGripStyle = SizeGripStyle.Hide; this.Top = 0; this.Left = 0; this.FormBorderStyle = FormBorderStyle.None; this.label1.Left = (w / 2) - (this.label1.Width /2); this.label1.TextAlign = ContentAlignment.MiddleCenter; this.TopMost = true; this.Opacity = .75; this.ShowInTaskbar = false; this.Height = 25; }
RE: Classification Banner
1) Change the colour of the background and the default text lettering according to classification.
2) Like yours, it was a floating semi-transparent logo but this was written in Windows SDK so you didn't need the latest and greatest 20Mb of .net framework, nor did you need the numerous versions of MFC. It was compiled as /MT so it could run standalone on all systems ranging from W2K to W7. The text was driven from a configuration file so reconfiguration was a doddle.
The strange bit, when I did it was that nobody was aware that all this could be done in Windows SDK. They all thought you needed .net framework or at least MFC to do it.