Matches in DBpedia 2016-04 for { <http://wikidata.dbpedia.org/resource/Q10296490> ?p ?o }
Showing triples 1 to 33 of
33
with 100 triples per page.
- Q10296490 subject Q7210790.
- Q10296490 subject Q8429222.
- Q10296490 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.".
- Q10296490 wikiPageExternalLink 38447.
- Q10296490 wikiPageExternalLink aa383682.aspx.
- Q10296490 wikiPageExternalLink ms632590.aspx.
- Q10296490 wikiPageExternalLink ms644928.aspx.
- Q10296490 wikiPageExternalLink ms644936.aspx.
- Q10296490 wikiPageExternalLink ms644943.aspx.
- Q10296490 wikiPageExternalLink dilascia.aspx.
- Q10296490 wikiPageWikiLink Q1065525.
- Q10296490 wikiPageWikiLink Q1135914.
- Q10296490 wikiPageWikiLink Q1205349.
- Q10296490 wikiPageWikiLink Q128751.
- Q10296490 wikiPageWikiLink Q1349935.
- Q10296490 wikiPageWikiLink Q1406.
- Q10296490 wikiPageWikiLink Q1859284.
- Q10296490 wikiPageWikiLink Q2005914.
- Q10296490 wikiPageWikiLink Q201904.
- Q10296490 wikiPageWikiLink Q205663.
- Q10296490 wikiPageWikiLink Q213092.
- Q10296490 wikiPageWikiLink Q239084.
- Q10296490 wikiPageWikiLink Q40056.
- Q10296490 wikiPageWikiLink Q487378.
- Q10296490 wikiPageWikiLink Q613361.
- Q10296490 wikiPageWikiLink Q7210790.
- Q10296490 wikiPageWikiLink Q756637.
- Q10296490 wikiPageWikiLink Q782543.
- Q10296490 wikiPageWikiLink Q8429222.
- Q10296490 wikiPageWikiLink Q868299.
- Q10296490 wikiPageWikiLink Q908419.
- Q10296490 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.".
- Q10296490 label "Message loop in Microsoft Windows".