|
This question is more c# console specific than probably Terminal.Gui. I have implemented drag & drop with a My main issue is, that in that case i set the focus to another TextField where I can enter the description, the thing I'm struggling is to bring the window to front and activate it, so that I just can go on typing. I tried the |
Replies: 2 comments 3 replies
|
After bring the window on top call |
|
Thanks for your answer. I already have the .SetFocus() but I was looking for something like following snipped (works in Windows, but not Linux) |
That is low level code winuser.h which really only works on Windows. For Linux you've to look an analog library, probably using the libX11.so. I really don't know if the code below works, but could give you an hint.