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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:07:56+00:00 2026-05-13T23:07:56+00:00

I am interested in writing an application that overlays a small heads up display

  • 0

I am interested in writing an application that overlays a small heads up display (HUD) over another application, in VB.NET. What is an example of this?

I will need to enumerate all open windows to find the window that I want, and then overlay some text in a specific position on the window. If the user moves that window, my text will need to follow. (I will probably be painting the text in a loop over and over).

Edit: nobody answered my original query – I added C# to the keywords to see if any of gurus in that language might have an answer.

  • 1 1 Answer
  • 1 View
  • 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-13T23:07:56+00:00Added an answer on May 13, 2026 at 11:07 pm

    You can use WinApi to enumerate windows.
    You can start googling with

    [DllImport("user32.dll")]
    public static extern int EnumWindows(EnumWindowsProc ewp, int lParam);
    
    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    public static extern bool GetWindowRect(IntPtr hWnd, ref WapiRect lpRect);
    

    When you have found your window and has its handle, there is no problem to plot on it with something like

    Graphics g = Graphics.FromHwnd(win.Handle);
    g.FillRectangle(new SolidBrush(Color.White), 0, 0, 1000, 1000);
    

    But to overlay… One possible solution is to create own border less form(it can be made even transparent) and place your text on it. Then just place this special form on top of another application.

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

Sidebar

Related Questions

I am interested in writing an application that will take in an excel document
I've been interested in writing an application that will show how to fit boxes
I'm writing a .Net C# application that will make SOAP calls to a configured
I am interested in writing an HTML5 application that consumes REST APIs. I am
I am writing a distributed Java application that will make heavy use of networking,
I'm writing a small application that includes a password change function with validators for
I'm very new to WPF and am writing an application using this example as
I am interested in writing a trigger that would ignore queries from a specific
I am a .NET developer, I am interested in writing about Silverlight, .NET and
I'm writing a small web application using Perl, HTML::Mason and Apache. I've been using

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.