views:

21

answers:

0

Hello,

I have the following scenario:

  • the application receives a WM_COPYDATA
  • it extracts the information (some characters) and is processing the message
  • while processing it displays a window, simulating a modal dialog (disabling its owner; the thread that created the main window, the owner of the modal window, is the same that created the modal windo)
  • the application is polling for messages; it receives paints for both windows, erase backgrounds, get icon, some unknown messages (0x85, 0x88, 0x91, 0x92, 0x93, Spy could not tell much about them).

It seems that the behavior is different on different platforms: on Windows Vista the modal dialog can be closed, moved, etc, on Windows 7 it appears that the entire application is frozen; no mouse or keyboard messages are coming to the application; Spy also reports no other messages than the ones I mentioned above.

The modal window is not a child window (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_BORDER | WS_CLIPSIBLINGS | WS_CLIPCHILDREN) and it has as owner the application window.

Any... hints ?

Thank you.