phew Posted October 29, 2007 Posted October 29, 2007 hi, WinSetState("Windows Live Messenger", "", @SW_SHOW) WinActivate("Windows Live Messenger", "") does not work while my msn is only running in traybar, so how do i set it to @SW_SHOW when it is only in tray?
phew Posted October 29, 2007 Author Posted October 29, 2007 Try @SW_RESTORE instead of @SW_SHOWdidn't work either
Ranmaru Posted October 29, 2007 Posted October 29, 2007 Tried it by monitoring the msnmsgr.exe process windows and when you close the Windows Live Messenger window, it doesn't just hide it. MSN deletes the window and when you display it it's back with a new HWnd value. Try making your own hide function for it without closing it with the default MSN method, that way you can display it yet again since it's just hidden, not deleted. Hope that helped.
phew Posted October 29, 2007 Author Posted October 29, 2007 Tried it by monitoring the msnmsgr.exe process windows and when you close the Windows Live Messenger window, it doesn't just hide it. MSN deletes the window and when you display it it's back with a new HWnd value.Try making your own hide function for it without closing it with the default MSN method, that way you can display it yet again since it's just hidden, not deleted.Hope that helped.okay thanks for the help, got it working now =)
Ranmaru Posted October 29, 2007 Posted October 29, 2007 okay thanks for the help, got it working now =)No problem.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now