Jump to content

Talk:Message loop in Microsoft Windows

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

While this code has been antiquated by modern frameworks accompanying high-level languages [...]

I find this statement quite ambiguous. Is it the general use of event loops in Windows systems that has been antiquated, or the particular use of GetMessage(), TranslateMessage() and DispatchMessage(&msg)?

Either way, what is actually used by modern frameworks? --Abdull 12:42, 15 April 2007 (UTC)[reply]

I replaced the text with something a little better. As for what the frameworks use, it varies; the two examples illustrate two different approaches: one with a straightforward callback mechanism (VB), the other using a signal/slot mechanism to mediate the callbacks. Others such as MFC and Wx use message maps which can be seen as being somewhat inbetween, and there are yet more exotic mechanisms out there for connecting guis to code, though the toolkits using them tend to be equally esoteric as well. 206.173.243.159 (talk) 15:42, 24 June 2008 (UTC)[reply]