Hans Joseph Solbrig:
I would like it to both filter the keys coming to
application (not just the regular characters) and
perform background processing.
The standard technique for filtering keys is to subclass the Window.
//We will soon go into this loop and never emerge
if (tempUMsg == STE_WM_DO_BACKGROUND_PROCESSING) {
while(true){
MSG msg;
while ( ::PeekMessage( &msg, NULL, 0, 0,
PM_NOREMOVE ) ){
if (!::GetMessage(&msg, NULL, NULL, NULL)){
::PostQuitMessage(0);
return 0;
Inserting your own event loop into an application is generally a
bad idea. Have a look at the use of SC_WIN_IDLE inside Scintilla.
Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest