Hi, friends, I have a problem about using modal dialog box.
For example, there are two dialogs, one is a main dialog, it is modaless,
the other is a modal dialog and its parent is the first dialog. The problem
is, when the modal dialog opens the IME panel, and then I open another
application, keeping the IME panel opened with the dialog in background. And
then I switch back, let the first application gain the focus, and the problem
occurs, the IME panel is hidden, but the modal dialog does not resize to
fullsize.
I debug my code and find that the modal dialog did not receive any message
when I switch back. But its parent, the main dialog which should be disabled
receives several message such as WM_ACTIVE, WM_IME_NOTIFY...
I use DialogBox to show the modal dialog, and set the first dialog as its
parent. I don't know why this happens. Why WM_ACTIVE message is sent to its
parent but not the modal dialog.
Can somebody help me?
Thanks