1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Workaround for a window ordering problem with VST plugins in some windows hosts.

This commit is contained in:
jules 2014-06-22 19:21:25 +01:00
parent a362fb0328
commit 8977b896ab

View file

@ -1375,8 +1375,9 @@ public:
{
// for hosts like nuendo, need to also pop the MDI container to the
// front when our comp is clicked on.
if (HWND parent = findMDIParentOf ((HWND) getWindowHandle()))
SetWindowPos (parent, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
if (! isCurrentlyBlockedByAnotherModalComponent())
if (HWND parent = findMDIParentOf ((HWND) getWindowHandle()))
SetWindowPos (parent, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
}
#endif