phew Posted October 29, 2007 Share 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? Link to comment Share on other sites More sharing options...
bolthead Posted October 29, 2007 Share Posted October 29, 2007 Try @SW_RESTORE instead of @SW_SHOW Link to comment Share on other sites More sharing options...
phew Posted October 29, 2007 Author Share Posted October 29, 2007 Try @SW_RESTORE instead of @SW_SHOWdidn't work either Link to comment Share on other sites More sharing options...
Ranmaru Posted October 29, 2007 Share 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. Link to comment Share on other sites More sharing options...
phew Posted October 29, 2007 Author Share 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 =) Link to comment Share on other sites More sharing options...
Ranmaru Posted October 29, 2007 Share Posted October 29, 2007 okay thanks for the help, got it working now =)No problem. Link to comment Share on other sites More sharing options...
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