replacing_20the_20message_20pump
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
replacing_20the_20message_20pump [2018/03/31 13:19] – external edit 127.0.0.1 | 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:// | ||
+ | |||
+ | <code bb4w> | ||
DEF PROCnewmessagepump | DEF PROCnewmessagepump | ||
LOCAL K%, L%, M%, N%, O%, P%, S%, U%, code%, pass% | LOCAL K%, L%, M%, N%, O%, P%, S%, U%, code%, pass% | ||
Line 52: | Line 56: | ||
SYS " | SYS " | ||
ENDPROC | ENDPROC | ||
+ | </ | ||
+ |
replacing_20the_20message_20pump.1522502377.txt.gz · Last modified: 2024/01/05 00:16 (external edit)