Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Classification Banner

Classification Banner

Classification Banner

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.

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

We used a different solution

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close