My VB6 app does not minimize to the task bar even though I have ShowInTaskBar set to True. It shrinks down and parks itself just above the Start button. This has got to be an easy solution. What the heck am I not doing?
That is really strange. The only way I get that effect of not minimizing to the tray is if ShowInTaskBar is set to false. If you ahve it set to true, it whould minimize properly.
I would suggest creating a new form and copying all your code and objects to the new form. It may be that you made a setting change somewhere. Craig, mailto:sander@cogeco.ca
Remember not to name the Lambs...
It only makes the chops harder to swallow
Private Sub Form_Resize()
Dim vbresize As FormWindowStateConstants
If WindowState = vbresize Then
RichTextBox1.Width = Me.Width - 100
RichTextBox1.Height = Me.Height - 670
End If
If WindowState = vbMaximized Then
RichTextBox1.Width = Me.Width - 100
RichTextBox1.Height = Me.Height - 800
End If
'this is necessary to assure that the minimized window is hidden
If Me.WindowState = vbMinimized Then Me.Hide
End Sub
it should help ken Christensen
Ken@Christensen.dk
Ken Christensen Software
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.