Maximus5 / conemu-inside

An example, how to embed http://conemu.github.io/ into another graphical application
57 stars 42 forks source link

Focus problems in Visual Studio plugin #21

Open Therena opened 8 years ago

Therena commented 8 years ago

Hi,

while using the conrol in a Visual Studio plugin I have some problems with focus the conemu control. Visual Studio plugin: https://github.com/Therena/ConEmuIntegration

If the user changes the tabs in Visual Studio the extension calls "Focus()" on the conemu control. But the conemu control isn't focused afterwards.

As discussed via twitter with Maximus5 it can also be a problem in my code or even a problem in the Visual Studio tab control.

Regards, David

hypersw commented 8 years ago

And who specifically does get the focus in this case? In WinAPI and WPF terms.

Therena commented 8 years ago

No one does get the focus. Means the focus isn't changes. The focus is still on the tabpage itself and not within conemu. It seems so that the call of the "Focus" method hase no effect.