replacing_20the_20message_20pump
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| replacing_20the_20message_20pump [2018/04/13 11:48] – richardrussell | replacing_20the_20message_20pump [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| //by Richard Russell, January 2012//\\ \\ In Windows, every User Interface (UI) thread must have a [[http:// | //by Richard Russell, January 2012//\\ \\ In Windows, every User Interface (UI) thread must have a [[http:// | ||
| + | <code c> | ||
| while (GetMessage (&msg, NULL, 0, 0) != FALSE ) | while (GetMessage (&msg, NULL, 0, 0) != FALSE ) | ||
| { | { | ||
| Line 13: | Line 14: | ||
| } | } | ||
| } | } | ||
| + | </ | ||
| Very occasionally there may be a requirement to use a different message pump. For example, in order for **keyboard navigation** to work in a dialogue box, the message pump must include a call to the [[http:// | Very occasionally there may be a requirement to use a different message pump. For example, in order for **keyboard navigation** to work in a dialogue box, the message pump must include a call to the [[http:// | ||
replacing_20the_20message_20pump.1523620136.txt.gz · Last modified: 2024/01/05 00:16 (external edit)