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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:19:01+00:00 2026-05-24T11:19:01+00:00

I am working on a WinForm Application. The Form has many fields/components but is

  • 0

I am working on a WinForm Application.
The Form has many fields/components but is poorly built.
for example a field is used as user name on one case and used as folder path on the other case. Code is quite poorly maintaned.

Is is possible that when i run the application and GUI appears, i can use a tool like ‘spy++’ which can show me ‘names’ of the components (not ids). For instance the name of a button or name of a label.

Or if i can use SPY++ for ‘names’ please tell me?

  • 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-05-24T11:19:03+00:00Added an answer on May 24, 2026 at 11:19 am

    I would solve the problem by adding a ToolTip control to your form and iterating over each control and adding a Tool Tip message to each control that is the name of the control.

    First, add a ToolTip object to your form (from the Tools section of the designer.) You can rename it, but for the sake of my demo, I left it as the default name toolTip1.

    Next, add a method similar to the one I’m posting below to the code page of your form. (I’m assuming this is for C# but the code is simple and can easily be modified for VB or C++).

    public void AddNameToToolTip(Control c)
    {
        toolTip1.SetToolTip(c, c.Name);
        foreach (Control child in c.Controls) AddNameToToolTip(child);
    }
    

    Finally, from within the Form constructor, add the following line of code after the call to InitializeComponent().

    AddNameToToolTip(this);
    

    This will add a ToolTip message to each control in your form. All you should have to do is hover your mouse over each control and the ToolTip will pop up a message after a second or two displaying the name of the underlying control.

    Alternatively, you can recursively adding a MouseHover event to each control and when the event is fired, write the name of the control to the debugger. This would also work if you are already using a ToolTip control within your form.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a WinForm .Net application with the basic UI that includes toolbar
Good morning, I am working on a C# winform application that is using validation
I'm working with an n-Tier application using WinForm and WCF Engine Service (Windows Service)
I am working on a rather large WinForms application that has dozens of controls
I'm having some serious issues with a WinForm application that I'm working on. Currently,
I'm working on an rather small application (C#, winform) that is kind of front-end
I am working on a C# WinForm application. I want to trigger some processing
I am working with a WinForm application that was designed by the previous, now
As I am working on windows .Net Windows form application, I want to know
I have a C# Winform application. In my form, I have a panel and

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.