Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9128563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:32:40+00:00 2026-06-17T07:32:40+00:00

It should look like the little box that appears when you click the Action

  • 0

It should look like the little box that appears when you click the Action Center, Power, Network, or Sound icon in the tray. It needs to have that glass border without the title bar.

enter image description here

It also needs to be a fixed size and not resizable. Thanks to anyone who can help! 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:32:41+00:00Added an answer on June 17, 2026 at 7:32 am

    You need to set the ControlBox to false, clear the title text, and set the border style. Since you stated you want the sizable border, but not allow it to be resized, you can set the min and max size as well. Finally to prevent the mouse cursor from showing the resize cursor, we override the WM_NCHITTEST result if they are on one of the borders:

    private void Form1_Load(object sender, EventArgs e)
    {
        this.ControlBox = false;
        this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable;
        this.MinimumSize = this.MaximumSize = this.Size; 
        this.Text = "";                
    }
    const int WM_NCHITTEST = 0x0084;
    const int HTBOTTOM = 15;
    const int HTBOTTOMLEFT = 16;
    const int HTBOTTOMRIGHT = 17;
    const int HTLEFT = 10;
    const int HTRIGHT = 11;
    const int HTTOPLEFT = 13;
    const int HTTOPRIGHT = 14;
    const int HTTOP = 12;
    const int HTCLIENT = 1;
    protected override void WndProc(ref Message m)
    {
        base.WndProc(ref m);
        if (m.Msg == WM_NCHITTEST)
        {
            Console.WriteLine(m.Result.ToString());
            switch (m.Result.ToInt32())
            {
                case HTBOTTOM:
                case HTBOTTOMLEFT:
                case HTBOTTOMRIGHT:
                case HTLEFT:
                case HTRIGHT:
                case HTTOPLEFT:
                case HTTOPRIGHT:
                case HTTOP:
                    m.Result =(IntPtr) HTCLIENT;
                    break;
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a activity which should look like as a dialog box
I'm trying to create a custom UIButton that should look like a UIButtonTypeRoundedRect. In
I'm trying to develop a component that should look somewhat like this I'm using
My Xml Should look like: <?xml version=1.0 encoding=UTF-8 standalone=yes?> <results> <version>1.0</version> <status>ok</status> <lastUpdate>2011-11-21 09:23:59.0</lastUpdate>
I'm trying to make a drawable which should look like in the image below:
I've been trying to create a generic event. Basically it should look like this:
What should data look like before data encoding in: urllib2.Request(someurl,data) I tried [('name1','value1'),('name2','value2'),...] but
Does this look like it should work? I'm wanting to generate directions from one
Having a array like below var arrNames = [Stackoverflow,StackExchange,Webmaster,Programmers]; how should a template look
i have followed GridView in my ASP.Net Page: http://s2.imgimg.de/uploads/14b706b38JPG.jpg It should look like this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.