P
Patrick Tingen
Guest
Found an explanation myself at stackoverflow.com/.../issue-with-setforegroundwindow-in-net It seems that this is by design to protect users from applications stealing focus. I changed the code to first enable all widgets, then APPLY "ENTRY" to the first widget and then finally run SetForegroundWindow. This will ensure that my application has focus and is thus allowed by Windows to bring the window to the front. I have yet to test it thoroughly but first tests are promising.
Continue reading...
Continue reading...