When an Active X dll window is opened from the .Net window and the activex window is made a modal dialog, it works fine to start with. But when the parent .net window is maximized before invoking the modal activex dialog and when i move to some other application and then come back to click the parent window in the task bar; it shows the parent window full screen. The modal dialog of activex control is hidden behind. I am using the standard interop dll to interact with the activex control. Any idea why this issue is happening? I need to know the reason.
It works fine when i set the CallerHWndProperty in the activex control to the parent window explicitly. I used the window.handle property to set it before invoking the modal dialog. But i need to know why the issue happens in the first place.
thanks in advance,