i'm trying to write plugin that will show some number of modeless dialogs. This dialogs contains some edit boxes. DialogProc for modeless dialogs created by CreateDialog doesn't support keyboard inputs messages. To get it work isDialogMessage function should be called from main message pump. That's the point - I don't know how to hook this message pump. Can anyone help me?