R
Richard Lewis Haggard
I'm having trouble with the MDI activate chain of events that happen as a
result of a Ctrl+Tab event in my client's MDI application. A mouse click on
an inactive MDI child executes normally but Ctrl+Tab event processing
handling is only partially handled. The active MDI child window is changed
but this is not being reflected in the MDI parent because the Activated and
Enter events attached to the MDI children are not being called. Even though
the next MDI child has been activated by the Ctrl+Tab, the MDI parent is
unaware of the change. The application itself is pretty complicated with a
number of third party controls involved to obfuscate the issue. In Win32,
I'd simply intercept the WM_ACTIVATE or WM_MDIACTIVATE message and I suspect
that the Activated event is attached to that message. Since the MDI child is
properly changing its Z state and painting itself in a fashion consistent
with activation, I'm pretty sure that the Ctrl+Tab is being at least partly
processed. What can I do to narrow down the location of the failure or
otherwise circumvent the problem by detecting the mdi activation event
upstream?
result of a Ctrl+Tab event in my client's MDI application. A mouse click on
an inactive MDI child executes normally but Ctrl+Tab event processing
handling is only partially handled. The active MDI child window is changed
but this is not being reflected in the MDI parent because the Activated and
Enter events attached to the MDI children are not being called. Even though
the next MDI child has been activated by the Ctrl+Tab, the MDI parent is
unaware of the change. The application itself is pretty complicated with a
number of third party controls involved to obfuscate the issue. In Win32,
I'd simply intercept the WM_ACTIVATE or WM_MDIACTIVATE message and I suspect
that the Activated event is attached to that message. Since the MDI child is
properly changing its Z state and painting itself in a fashion consistent
with activation, I'm pretty sure that the Ctrl+Tab is being at least partly
processed. What can I do to narrow down the location of the failure or
otherwise circumvent the problem by detecting the mdi activation event
upstream?