mrjt Messages: 705 Registered: March 2007 Location: London
Contributor
I think that the difference is:
SetFocus will pass focus to the ctrl and take it from whatever has focus.
ActiveFocus sets the Ctrl that should have focus when the window next gets focus. There is only an immediate focus transition if the window is currently in the foreground.