I have created a MDI project and loaded a logo onto another form and displayed it using the following code in the resize event:
frmImage.imgLogo.Move 0, 0
frmImage.Width = frmImage.imgLogo.Width
frmImage.Height = frmImage.imgLogo.Height
frmImage.Left = (Screen.Width - frmImage.Width) / 2
frmImage.Top = (Screen.Height - frmImage.Height) / 2
frmImage.Show
The problem I'm having is when the app is minimized to the task bar, then maximized again, if a child form is open at the time the logo centers itself in front of the child form.
What do I need to do to stop this from happening so the child forms will have focus?
Rob
Just my $.02.
frmImage.imgLogo.Move 0, 0
frmImage.Width = frmImage.imgLogo.Width
frmImage.Height = frmImage.imgLogo.Height
frmImage.Left = (Screen.Width - frmImage.Width) / 2
frmImage.Top = (Screen.Height - frmImage.Height) / 2
frmImage.Show
The problem I'm having is when the app is minimized to the task bar, then maximized again, if a child form is open at the time the logo centers itself in front of the child form.
What do I need to do to stop this from happening so the child forms will have focus?
Rob
Just my $.02.