Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

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 =)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...