Creating pop up windows in Visual C++.NET

Posted on 2007-08-09
Last Modified: 2008-01-09
How do I create the little informational pop-up windows when you mouse over fields on a .NET Form? I don't want a standard dialog box with borders and a title bar. I want these windows to show up when you mouse over an item and then go away when the mouse leaves. I'm programming in Visual C++.NET. Please provide specific coding examples.

Question by:restabro
    LVL 25

    Expert Comment

    Add a ToolTip control to your form and associate it with the control you want it to provide a tip on.

       this->toolTip1 = (gcnew System::Windows::Forms::ToolTip(this->components));
       this->toolTip1->SetToolTip(this->textBox1, "this is a tooltip");
    LVL 25

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now