Contact List Open/Close - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: Contact List Open/Close (/showthread.php?tid=62184) Contact List Open/Close by TazDevil on 06-30-2006 at 10:04 PM
why arent there any Messneger.Open and .Close methods ??? RE: Contact List Open/Close by matty on 06-30-2006 at 10:16 PM
quote:To be blunt your post is way off. Thanks for coming out. Taz means why isn't there an option within the Messenger object to Open or Close the Contact List. Taz to be honest with you I was actually wondering the same thing. This would make your Windows Management Plugin so much easier. My suggestion would be to use the ShowWindow API and hide the window (SW_HIDE) and then show it (SW_SHOW) when needed, that is the only work around available for now until Patchou incorporates those if he does. RE: RE: Contact List Open/Close by TazDevil on 06-30-2006 at 10:22 PM
quote:The contact list is destroyed and re-created that is why the memory load hits the charts only when the contaclt list is open.. so SW_HIDE and SW_SHOW are useless if the contacltlist is closed initially and the fact that unnessecary memory load is reserved... RE: Contact List Open/Close by deAd on 06-30-2006 at 10:50 PM
This uses the messenger api (as opening/closing is a function in it): code: To close it: code: To toggle it (Window.IsClosed is a boolean that says if its closed or not ): code: RE: Contact List Open/Close by matty on 06-30-2006 at 10:52 PM
quote:Ya you ever look at your processes before you run the code and afterwards? By using the Windows Messenger API you are causing Windows Messenger to run. RE: Contact List Open/Close by TazDevil on 06-30-2006 at 10:55 PM yeah i already thought of that and it has the implication Matty said, Window Messanger is required and runs automatically in a hidden state... RE: Contact List Open/Close by deAd on 06-30-2006 at 11:00 PM
Really? *looks at processes* I'm not seeing it what's the process name? RE: Contact List Open/Close by matty on 06-30-2006 at 11:01 PM
quote:msmsgs.exe No once the processes is launched it stays no matter if it is removed. The process has to be ended manually. RE: Contact List Open/Close by deAd on 06-30-2006 at 11:28 PM , after i closed it manually, it didnt come back again. but the API was working fine. RE: Contact List Open/Close by TazDevil on 07-03-2006 at 01:55 AM
So i guess no-one else is interested in the API method... RE: Contact List Open/Close by matty on 07-03-2006 at 02:34 AM
quote:I ment if you remove the call to the API it stays running. Then it also will automatically startup with your PC. quote:I am going to mention this to Patchou |