Hi George, thanks for the answer, i have tried what you suggested but it does not work for me..
I have this source code on my MDI Child initialization (SetWindowPos)
{
HWND TEMP = ObPanelAPI::GetPanelHandleByName("*Current");
if (!IsIconic(TEMP))
{
SetWindowPos(TEMP,HWND_TOP, 0,0,0,0,SWP_NOZORDER|SWP_SHOWWINDOW|SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOMOVE|SWP_FRAMECHANGED);
}
}
but it does not work, the dialog message still hide my panel behind the main.
Also tried with the SetForegroundWindow (still in the MDI Child) but with no luck.
Can you explain me what i'm doing wrong?
I take a look of your model but i don't understand the sequence of the calls, you use SetForegroundWindow and BringObjectBrowserWindowTop sources but in different panels and i dont' understand the calls sequence.
Thank you