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 8882335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:33:09+00:00 2026-06-14T20:33:09+00:00

How can I create a tooltip like this one (created in AutoIt) anywhere on

  • 0

How can I create a tooltip like this one (created in AutoIt) anywhere on the screen?
I am looking for an hour and found nothing really.
It’s a normal tooltip like trayicons’ tooltips, just can be placed anywhere.

Regards

AutoIt Tooltip()

  • 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-14T20:33:10+00:00Added an answer on June 14, 2026 at 8:33 pm

    Why does it matter whether it is Windows Forms, ASP .NET, etc? Because it probably affects your choices.

    If it is a Windows Forms application you could create your own class that inherits from Windows.Forms.Form, set some properties and then use that.

    public class MyTooltip : Form
    {
        public int Duration { get; set; }
    
        public MyTooltip(int x, int y, int width, int height, string message, int duration)
        {
            this.FormBorderStyle = FormBorderStyle.None;
            this.ShowInTaskbar = false;
            this.Width = width;
            this.Height = height;
            this.Duration = duration;
            this.Location = new Point(x, y);
            this.StartPosition = FormStartPosition.Manual;
            this.BackColor = Color.LightYellow;
    
            Label label = new Label();
            label.Text = message;
            label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            label.Dock = DockStyle.Fill;
    
            this.Padding = new Padding(5);
            this.Controls.Add(label);
        }
    
        protected override void OnShown(System.EventArgs e)
        {
            base.OnShown(e);
    
            TaskScheduler ui = TaskScheduler.FromCurrentSynchronizationContext();
    
            Task.Factory.StartNew(() => CloseAfter(this.Duration, ui));
        }
    
        private void CloseAfter(int duration, TaskScheduler ui)
        {
            Thread.Sleep(duration * 1000);
    
            Form form = this;
    
            Task.Factory.StartNew(
                () => form.Close(),
                CancellationToken.None,
                TaskCreationOptions.None,
                ui);
        }
    }
    

    You can use it like this:

        private void showButton_Click(object sender, EventArgs e)
        {
            var tooltip = new MyTooltip(
                (int)this.xBox.Value,
                (int)this.yBox.Value,
                50,
                50,
                "This is my custom tooltip message.",
                (int)durationBox.Value);
    
            tooltip.Show();
        }
    

    Instead of closing you could reduce the form’s opacity until it disappears then close it for a nicer effect, assuming you want a duration at all.

    You could also play around with the transparency colour and use a background image, etc to have shaped tooltips.

    EDIT:

    Here is a quick demonstration of how the CloseAfter method could fade out the tooltip form.

    private void CloseAfter(int duration, TaskScheduler ui)
    {
        Thread.Sleep(duration * 1000);
    
        Form form = this;
    
        for (double i = 0.95; i > 0; i -= 0.05)
        {
            Task.Factory.StartNew(
                () => form.Opacity = i,
                CancellationToken.None,
                TaskCreationOptions.None,
                ui);
    
            Thread.Sleep(50);
        }
    
        Task.Factory.StartNew(
            () => form.Close(),
            CancellationToken.None,
            TaskCreationOptions.None,
            ui);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I create a tooltip like this in my iPad app? Is this
I'm using the plugin http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ to create tooltips with JQuery but I can't created
I need to create a Customised PopUp to work like a ToolTip How can
I'm trying to create a tooltip like the one that youtube shows you when
can someone tell me how to create a nice small tooltip like ajax pop-up
I can create a jquery object inline like this (this code is working) $('#tip').qtip({
Can everybody help me on how to create a tooltip that contain the x
I can create database manually by going to cpanel. But I'd like to create
One can create an anonymous object that is initialized through constructor parameters, such as
Hi I would like to create a Visual Studio snippet that I can have

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.