Editor input is intercepted by Cubase


#1

I’m developing a plugin on Windows platform now.When I create a label with a text-editor, I find that some characters such as ‘.’ are intercepted by host while other characters can be typed.I try to grab keyboard focus in my overrided function editorShown(shown below) but it doesn’t work.
editorShown(TextEditor *editorComponent)
{
Label::editorShown(editorComponent);
editorComponent->setWantsKeyboardFocus(true);
editorComponent->grabKeyboardFocus();
}


#2

Yeah… welcome to the club.
Take a look at these posts:
http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=1662&hilit=text

I remember somewhere in the forum seeing the code for a hacked text editor that could solve the problem.


#3

the various workaround proposals can be found here:
http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=6901&hilit=vst+keyboard