I'm just laughing at myself, I've digging in msdn looking for the
function to do that while the solution was staring me right in the face.
Thanks a lot: It's worked great!
k
-----Original Message-----
From: bounce-pro_vb-478924@p...
[mailto:bounce-pro_vb-478924@p...]On Behalf Of James Willock
Sent: Thursday, October 11, 2001 2:18 PM
To: professional vb
Subject: [pro_vb] RE: Shell_NotifyIcon and MDI
Simple:
Private Sub MDIForm_Resize()
If WindowState = vbMinimized Then
Hide
End If
End Sub
-----Original Message-----
From: Solutions 2000 [mailto:provb@s...]
Sent: 11 October 2001 12:03
To: professional vb
Subject: [pro_vb] Shell_NotifyIcon and MDI
Hi
I've managed to get the my mdi form to minimize to the system try but
now I'd like to have it removed from the main taskbar when it's on the
system tray and return it when maximized.
Is there an API out there I can use to get it in and out of the taskbar?
thanks in advance
kamau