Matches in DBpedia 2016-04 for { <http://dbpedia.org/resource/Message_loop_in_Microsoft_Windows> ?p ?o }
Showing triples 1 to 49 of
49
with 100 triples per page.
- Message_loop_in_Microsoft_Windows abstract "The message loop is an obligatory section of code in every program that uses a graphical user interface under Microsoft Windows.Windows GUI programs are event-driven. After starting a process, Windows maintains an individual message queue for it. Windows places messages into that queue whenever mouse activity occurs on that process's window, whenever keyboard activity occurs while that process's window has focus, and at other times. A process can also add messages to its own queue. To accept user input, and for other reasons, each process must continuously retrieve messages from its queue, and act on them. A programmer makes the process do that by writing a loop that calls GetMessage (which waits for a message and retrieves it), and then calls DispatchMessage (which dispatches the message), and repeats indefinitely. This is the message loop. It is usually part of the main program, which runs on the main thread. Messages for every window of the process pass through its message queue, and are handled by its message loop. A message loop is one kind of event loop.A basic message loop appears as follows:It is conventional for the event loop to call TranslateMessage on each message. Calling TranslateMessage is not technically required, but problems can result if it is not called. The message loop must call DispatchMessage.The message loop does not directly act on the messages that it handles. It dispatches them by calling DispatchMessage, which transfers the message to the \"window procedure\" for the window that the message was addressed to. (The \"window procedure\" is a callback procedure, which got associated with the window when it was created.) (More than one window can use the same window procedure.)Code can also send messages directly to a window procedure. These are called nonqueued messages.A strict message loop is not the only option. Code elsewhere in the program can also accept and dispatch messages. PeekMessage is a non-blocking call that returns immediately, with a message if any are waiting, or no message if none is waiting. WaitMessage allows a thread to sleep until a message is in he queue.Modern graphical interface frameworks, such as Windows Forms, Windows Presentation Foundation, MFC, Delphi, Qt, and others do not require applications to code a Windows message loop, because they automatically route events such as key presses and mouse clicks to their appropriate handlers as defined within the framework. However, each framework implements a message loop somewhere, and the message loop can usually be accessed or replaced when more direct control is required.".
- Message_loop_in_Microsoft_Windows wikiPageExternalLink 38447.
- Message_loop_in_Microsoft_Windows wikiPageExternalLink aa383682.aspx.
- Message_loop_in_Microsoft_Windows wikiPageExternalLink ms632590.aspx.
- Message_loop_in_Microsoft_Windows wikiPageExternalLink ms644928.aspx.
- Message_loop_in_Microsoft_Windows wikiPageExternalLink ms644936.aspx.
- Message_loop_in_Microsoft_Windows wikiPageExternalLink ms644943.aspx.
- Message_loop_in_Microsoft_Windows wikiPageExternalLink dilascia.aspx.
- Message_loop_in_Microsoft_Windows wikiPageID "3987223".
- Message_loop_in_Microsoft_Windows wikiPageLength "4592".
- Message_loop_in_Microsoft_Windows wikiPageOutDegree "22".
- Message_loop_in_Microsoft_Windows wikiPageRevisionID "701897085".
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Application_framework.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Callback_(computer_programming).
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Category:Events_(computing).
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Category:Microsoft_application_programming_interfaces.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Computer_program.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Control_flow.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Delphi_(programming_language).
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Entry_point.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Event-driven_programming.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Event_loop.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Graphical_user_interface.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Message_passing.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Message_queue.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Microsoft_Foundation_Class_Library.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Microsoft_Windows.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Process_(computing).
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Qt_(software).
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Source_code.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Thread_(computing).
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Windows_Forms.
- Message_loop_in_Microsoft_Windows wikiPageWikiLink Windows_Presentation_Foundation.
- Message_loop_in_Microsoft_Windows wikiPageWikiLinkText "Message loop".
- Message_loop_in_Microsoft_Windows wikiPageWikiLinkText "WinMain".
- Message_loop_in_Microsoft_Windows wikiPageWikiLinkText "Windows message loop".
- Message_loop_in_Microsoft_Windows wikiPageWikiLinkText "message loop".
- Message_loop_in_Microsoft_Windows wikiPageUsesTemplate Template:Unreferenced.
- Message_loop_in_Microsoft_Windows subject Category:Events_(computing).
- Message_loop_in_Microsoft_Windows subject Category:Microsoft_application_programming_interfaces.
- Message_loop_in_Microsoft_Windows hypernym Section.
- Message_loop_in_Microsoft_Windows type Settlement.
- Message_loop_in_Microsoft_Windows comment "The message loop is an obligatory section of code in every program that uses a graphical user interface under Microsoft Windows.Windows GUI programs are event-driven. After starting a process, Windows maintains an individual message queue for it. Windows places messages into that queue whenever mouse activity occurs on that process's window, whenever keyboard activity occurs while that process's window has focus, and at other times. A process can also add messages to its own queue.".
- Message_loop_in_Microsoft_Windows label "Message loop in Microsoft Windows".
- Message_loop_in_Microsoft_Windows sameAs Q10296490.
- Message_loop_in_Microsoft_Windows sameAs Q10296490.
- Message_loop_in_Microsoft_Windows sameAs Microsoft_Windows的訊息迴圈.
- Message_loop_in_Microsoft_Windows wasDerivedFrom Message_loop_in_Microsoft_Windows?oldid=701897085.
- Message_loop_in_Microsoft_Windows isPrimaryTopicOf Message_loop_in_Microsoft_Windows.