How to not lose focus in the parent form when opening a modeless form
C#
3
Posts
2
Posters
0
Views
1
Watching
-
Hello!, well that is the question i remember fixing this in MFC returning a false in the initdialog method, but how to do this in C#? :doh:
Override ShowWithoutActivation in the non-modal form:
protected override bool ShowWithoutActivation { get { return true; } }
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."
-
Override ShowWithoutActivation in the non-modal form:
protected override bool ShowWithoutActivation { get { return true; } }
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."