When I bring up my plugin's editor, the first text editor control automatically grabs keyboard focus. This happens without the user clicking on the control and is an undesired behavior. This only happens in Samplitude (64-bit/VST/Windows) and not in any other host that I have tried.
The call stack is as follows:
dll!juce::Component::grabKeyboardFocus() Line 2824 C++
dll!juce::ComponentPeer::handleFocusGain() Line 355 C++
> dll!juce::HWNDComponentPeer::peerWindowProc(HWND__ * h=0x0000000001d805d0, unsigned int message=7, unsigned __int64 wParam=13635884, __int64 lParam=0) Line 2506 C++
dll!juce::HWNDComponentPeer::windowProc(HWND__ * h=0x0000000001d805d0, unsigned int message=7, unsigned __int64 wParam=13635884, __int64 lParam=0) Line 2358 + 0x23 bytes C++
I would appreciate any help in correcting this.