Yes.
Trick is to hijack the MOUSEACTIVATE event and call Activate on the
form.
If you are going to use this on multiple forms, it may be easier to
put this in a baseform and then inherit from this.
(Our particular project was VB.NET)
Protected Overrides Sub WndProc(ByRef m As Message)
Select Case m.Msg
Case &H21 ' WM_MOUSEACTIVATE
Me.Activate()
End Select
MyBase.WndProc(m)
End Sub
jliu - www.ssw.com.au