When my (VB 6 made) App gets activated by a telephone call, it always came to front automatically in Win NT 4.0
Now in 2000, it only comes to front if Outlook XP is covering it. When covered by Word XP or some other applications, my app stays in the background, and blinks in the task bar.
When the phone call comes in, the MDI frame creates a new MDI child window, and the MDI childs Form_Load does this:
If .WindowState = vbMinimized Then
.WindowState = vbNormal
.Top = mlngTop
.Left = mlngLeft
.Height = mlngHeight
.Width = mlngWidth
Me.Top = (.ScaleHeight - Me.Height) / 2
Me.Left = (.ScaleWidth - Me.Width) / 2
My questions are: What exactly was changed in Win2000 (compared with NT 4.0) ? Which of these code statements causes the OS to such actions like blinking in the taskbar or taking my app to the front ?
I need a way to have a behaviour that is really unique, no matter whether taking me to the front or leaving me back, but NOT DEPENDING ON WHICH OTHER application is currently at the front.
If I would use "AppActivate", would this always cause my app to come to the front, no matter which other apps are before it (OK, those not being system modal) ?