What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Conversation window

Pages: (5): « First « 1 2 3 [ 4 ] 5 » Last »
Conversation window
Author: Message:
KnRd_WC
Junior Member
**

Avatar
Florian PAQUET

Posts: 74
Reputation: 1
35 / Male / Flag
Joined: Aug 2006
RE: Conversation window
Ok, that's good idea, I'm going to start now, but I will finish tomorrow ;)

To do : - A menu item to set a "Silent" foreground (:P) for all windows.
          - An other menu item to set a "Silent" foreground only when a program entered in a customizable list in running, and only when the program's window is active...

Good ideas ;) Thanks :)

This post was edited on 08-25-2006 at 02:31 AM by KnRd_WC.
08-25-2006 02:30 AM
Profile PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Conversation window
quote:
Originally posted by CookieRevised
but you can simply restore a window without bringing it to the foreground
IIRC, in C++, you provide both SW_RESTORE and SW_NOACTIVATE bitwise-or'd to ShowWindow(). That restores the window, but doesn't activate it, therefore it won't move focus out of the active window.

Edit: I was close. According to MSDN, it's actually SW_SHOWNOACTIVATE.
* RaceProUK checks the value...
It's 4 ;)
quote:
Originally posted by WinUser.h"
#define SW_SHOWNOACTIVATE 4

This post was edited on 08-25-2006 at 10:09 AM by RaceProUK.
[Image: spartaafk.png]
08-25-2006 10:04 AM
Profile PM Web Find Quote Report
KnRd_WC
Junior Member
**

Avatar
Florian PAQUET

Posts: 74
Reputation: 1
35 / Male / Flag
Joined: Aug 2006
RE: Conversation window
Thanks RaceProUK, but in fact, I already tried this function yesterday with a script :
code:
Interop.Call("User32.dll","ShowWindow",ChatWnd.Handle,4);
But this function doesn't worked....

So, I tried this function with an external program,"PureBasic" (:)), I get the handle, And I tried again :
code:
ShowWindow_(Handle,4)
Nothing.....

And I tried with Windows Media Player window.... It worked... :'(
:(:(:(:(

I tried too to include the "program filter", I made an external DLL, which compare the process PID in the list and the active window process PID, easy....  but It don't work either (in fact, it works, but sometimes, and "sometimes" is not a good word in programmation...) :'(:'(:'(:'(

I think that my script is going to stop there....................

Thanks guys, I'm going to submit my script to the script DB, thanks again :)
-----------------
I'm going to make an 'about window' ans submit this script, because a messagebox isn't really beautiful.... xD
-----------------
Done !
>> AutoForeground
(Sorry but I removed the 'Thanks' because the 'about window' was very very big xD.

This post was edited on 08-25-2006 at 12:04 PM by KnRd_WC.
08-25-2006 10:41 AM
Profile PM Web Find Quote Report
artfuldodga
Full Member
***

Avatar

Posts: 178
Joined: Mar 2006
RE: Conversation window
Nice Job. Hopefully someone can maybe help you with improvments!
you should make a new thread for your script.

[Released] AutoForeground 1.2

:) so people know about it

* maybe cookierevised knows some code so that the window is poped up, but not made the active window.
Bug:

I have the Tab Option enabled for the Script and when a Contact Messages you with the Window Restored & Active... if you are Browsing Quick Icons using
WLM's Icon Button (Can Enable that under Quick Icons)... and that Contact Messages you, AutoForeground trys to bring the Window to the Front :) Resulting in a Crash of WLM.

This post was edited on 08-25-2006 at 05:31 PM by artfuldodga.
08-25-2006 01:04 PM
Profile PM Find Quote Report
KnRd_WC
Junior Member
**

Avatar
Florian PAQUET

Posts: 74
Reputation: 1
35 / Male / Flag
Joined: Aug 2006
RE: Conversation window
Mhhhh strange, no crash for me... I'm going to work on these windows (MP!L quick icons...). Thanks for the info ;) I will work on this script later, I'm on an other project right now (look at my signature :P).

Thanks :)
08-25-2006 08:51 PM
Profile PM Web Find Quote Report
artfuldodga
Full Member
***

Avatar

Posts: 178
Joined: Mar 2006
RE: Conversation window
btw, it was Quick Icons displaying (Custom Emoticons) oh.. and i had to press & hold the Quick Icons Scroll bar while someone was typing to me in order to make it crash.
08-25-2006 09:08 PM
Profile PM Find Quote Report
KnRd_WC
Junior Member
**

Avatar
Florian PAQUET

Posts: 74
Reputation: 1
35 / Male / Flag
Joined: Aug 2006
RE: Conversation window
BUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUG !!!!!!!!!!!!

lol, I will see what I can do to fix that ;)
08-25-2006 09:11 PM
Profile PM Web Find Quote Report
KnRd_WC
Junior Member
**

Avatar
Florian PAQUET

Posts: 74
Reputation: 1
35 / Male / Flag
Joined: Aug 2006
RE: Conversation window
Sorry for double post but.... 'bump' !!!!

I think (hope :P) that's fixed...

>> AutoForeground
08-25-2006 09:30 PM
Profile PM Web Find Quote Report
artfuldodga
Full Member
***

Avatar

Posts: 178
Joined: Mar 2006
RE: Conversation window
Seems Fixed :)
08-25-2006 10:34 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Conversation window
[OFF TOPIC]
quote:
Originally posted by artfuldodga
Nice Job. Hopefully someone can maybe help you with improvments!
you should make a new thread for your script.

[Released] AutoForeground 1.2

:) so people know about it
please don't... this thread is already 99,99% about this script. No need for yet another thread (this goes for many other threads/scripts too: there is no need to make a new thread everytime someone makes a script on request. It will clutter the forum and above all will almost always result in double/cross posts and suggestions and explanations).

People will know about it if it is in the database (especially when a link is provided to this thread for 'more information').
[/OFF TOPIC]




quote:
Originally posted by artfuldodga
* maybe cookierevised knows some code so that the window is poped up, but not made the active window.
See RaceProUK's post and especially the link to the msdn library.

This post was edited on 08-25-2006 at 10:57 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-25-2006 10:52 PM
Profile PM Find Quote Report
Pages: (5): « First « 1 2 3 [ 4 ] 5 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On