Ok I have a vb 6 app and moving it to .net but I am having a problem with finding a replacement for the following
Public Declare Function GetActiveWindow Lib "user32" () As Long
If GetActiveWindow = MdiForm1.Hwnd then
Execute other code
End if
I am trying to do the following in .net but it doesn't like it
IF System.Windows.Forms.Form.ActiveForm = MyMdiForm1.Handle then
Execute Other Code
End if
Any suggestions?
Public Declare Function GetActiveWindow Lib "user32" () As Long
If GetActiveWindow = MdiForm1.Hwnd then
Execute other code
End if
I am trying to do the following in .net but it doesn't like it
IF System.Windows.Forms.Form.ActiveForm = MyMdiForm1.Handle then
Execute Other Code
End if
Any suggestions?