quote:
Originally posted by raceprouk
Just checked msnmsgr.exe in PE Explorer - there's no dialog resources. So, logically, the message loop in MSNM7 doesn't have IsDialogMessage().
Because a program doesn't have dialog resources, it doesn't mean there are no dialogs. There are other ways to create a dialog, you don't have to have a resource dialog template to base your dialog on (eg: you can create your dialog on run-time. Or take VB for example it totally doesn't have any type of resources, not for dialogs, not for menu's, etc.)...
Anyways, MSN Messenger does use CreateWindowEx, IsDialogMessage, etc... (see under the "Imports" section > "USER32.DLL" in PE explorer).
quote:
Originally posted by raceprouk
Therefore, keypresses don't go to modal dialogs, unless you use DialogBoxParam(), which has it's own message loop.
Is that correct?
not really, it is Plus! which creates the Find dialog and thus it is a Plus' message loop, it is in Plus!'s process were the messages are handled.
Also, (and as shown in reply above about msn messenger and dialogs) there are more ways to handle a message loop. Letting DialogBoxParam() handle the loop is one way (the most convenient though)...
-------------
quote:
Originally posted by Patchou
I'll have to fix that in the next verison, thanks for reporting.
... btw, can you tell us, confirm/deny/etc. what the exact bug was and all. As talking about this with Raceprouk makes me seriously wonder (and I think Raceprouk also)