i have a login app thats is built in .net/Vs2010, when i run it on win 7 with VSStudio closed... app works fine as it steals focus and works as a forground window .. but as soon as i launch visual studio 2010, foreground functionality stops working thereafter. I tried even changing the registry setting to 0 for setforgroundlockedtimeout. but it works till the VS2010 is closed.
As soon as i open VS2010 ..setforegroundwindow() win32 api call fails to keep it foreground window. There after if you close VS2010 it still not behaving the way it supposed to be. To let it work again i have to restart or logoff m/c then app starts working as expected, but if you open studio.. focus gets lost automatically from my app to somehwere else.
Plase advice is it VSStudio the real culprit or something else?
Thanks in advance
Manish