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:
parent
a362fb0328
commit
8977b896ab
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue