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

  • Home
  • SEARCH
  • 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 6872753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:58:09+00:00 2026-05-27T03:58:09+00:00

http://msdn.microsoft.com/en-us/library/zyzhdc6b.aspx Executes the specified delegate on the thread that owns the control’s underlying window

  • 0

http://msdn.microsoft.com/en-us/library/zyzhdc6b.aspx

Executes the specified delegate on the thread that owns the control’s
underlying window handle.

According to the MSDN article, a thread can own other handles.

My best guess, is that the thread is some special super kernel object, with a handle that other handles can refer too?

like:

Handle | Thread-Handle-Reference

3201 | 20

4882 | 20

4827 | 7

  • 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-27T03:58:10+00:00Added an answer on May 27, 2026 at 3:58 am

    In these terms, yes.

    Basically, behind the scenes of the Windows GUI is a “message loop”, which is a two-way communication between the Windows OS (which knows about the mouse, keyboard and other input hardware) and your program (which doesn’t need to know the specifics, but does need to be responsive to user input within your app based on these input devices). There is a thread in your program (the main program execution thread, usually) that maintains this loop, listening for messages coming into the program from Windows, and parsing and passing messages to the various GUI controls and other code objects. This “GUI messaging thread” knows and maintains references to all the window handles of all GUI objects in your program; it must, because if it doesn’t, it cannot pass messages to them and will not be listening for messages from them.

    It is generally a bad idea to try to do something to a GUI control instance from outside the thread that is connected to the message loop. By doing so, it is possible for the control or sub-controls owned by the control to become detached from the message loop, or to never be attached in the first place. The “GUI message thread” then no longer knows about that control, and is no longer passing messages to or from it. Those controls become “rogue”; neither the program nor Windows can tell the control to move, redraw itself, or go away. The only thing Windows can do at that point to “control” the window is to shut down the process that owns it, thus terminating your entire program.

    To avoid this, GUI controls have a special method “Invoke” (and an asynchronous cousin “BeginInvoke”) designed to be used from outside the GUI messaging thread. These methods basically send a message from the window to itself through the Windows message loop that causes the main GUI thread to execute the delegate specified in the Invoke call. By doing so, any new GUI objects created within or as a result of that code will be known to the main GUI thread.

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

Sidebar

Related Questions

http://msdn.microsoft.com/en-us/library/system.double.epsilon.aspx If you create a custom algorithm that determines whether two floating-point numbers can
http://msdn.microsoft.com/en-us/library/ee2k0a7d.aspx Event handling is also supported for native C++ classes (C++ classes that do
Following the walkthrough at http://msdn.microsoft.com/en-us/library/ee707351(v=VS.91).aspx I have a working Silverlight solution that employs a
http://msdn.microsoft.com/en-us/library/ms379570(v=vs.80).aspx I know that Arrays in .net is stored in a contiguous fashion. (
http://msdn.microsoft.com/en-us/library/system.windows.controls.listboxitem.aspx Says ListBoxItem is in System.Windows.Controls. Where is that namespace? The using Windows.System.Controls; statement
According to : http://msdn.microsoft.com/en-us/library/ms175061.aspx It says that the NOT LIKE relational operator : Specifies
http://msdn.microsoft.com/en-us/library/bb351562.aspx when you goto that page on the left side it has links to
From http://msdn.microsoft.com/en-us/library/bbx2eya8.aspx it looks like, that this type of sockets are using more than
The MSDN documentation (http://msdn.microsoft.com/en-us/library/bb174425%28v=vs.85%29.aspx) says that Direct3D 9 applications can expect messages to be
In http://msdn.microsoft.com/en-us/library/system.security.cryptography.pkcs(VS.85).aspx we can see that the following digital signature attributes are defined: Pkcs9ContentType

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.