How does one programmatically set the command line to have keyboard focus?
I'm programmatically setting an active/focused PaletteSet's visibility to false.
_paletteSet.Visible = false;
I would like to follow this line with code that sets the command line to receive focus.
The PaletteSet for other reasons has KeepFocus = true.
I've tried various Win32 APIs (SwitchToThisWindow, SetForegroundWindow, SetActiv
I imagine there's a way to do this with the native APIs.
Any ideas? THANKS
Can you set keepfocus to false before visble = false? When you show the palette again, set keepfocus to true.
I don't understand why you would keep focus on a palette that is not visible.
Can you post some code we can try?
I do this:
Paletteset lose focus and you can write in command line.
Start with some of our most frequented solutions to get help installing your software.