What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Window Manager Plugin (Dock, Autohide)

Pages: (24): « First « 1 2 3 4 [ 5 ] 6 7 8 9 » Last »
3 votes - 5 average   Window Manager Plugin (Dock, Autohide)
Author: Message:
Andre
Junior Member
**


Posts: 66
Reputation: 2
34 / Male / –
Joined: May 2004
RE: Auto-hide feature for Plus! (on the makes)
Well I did use 7.0.814 until everyone realise it was a scam :P and yes I meant 7.0.813, but it didn't appear when I was using 7.0.777 or any of the public betas (I didn't use the leaked private betas then)

The little arrow is in the top left hand corner of the contact list above the MSN Messenger logo but below the bit saying File, Contacts, Actions.
05-02-2005 02:49 PM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Auto-hide feature for Plus! (on the makes)
The button that shows/hides the menu bar? That's there in all versions of MSNM7, unless you maximise the window.
[Image: spartaafk.png]
05-02-2005 05:19 PM
Profile PM Web Find Quote Report
Andre
Junior Member
**


Posts: 66
Reputation: 2
34 / Male / –
Joined: May 2004
RE: Auto-hide feature for Plus! (on the makes)
That explains it.

This plugin puts the button on regardless of whether its maximised or not, correct?
05-02-2005 05:29 PM
Profile E-Mail PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
O.P. RE: Auto-hide feature for Plus! (on the makes)
@ Andre
no the plugin does not draw any buttons on messenger, the button is a MSNM 7 feature, that was already used in convos for version 6 and then incorporated for the contactlist as well
the only thing it just disables the minimise button, but in the future this will be only in autohide mode.

i think i have resolved the polygamy issue...
but i will post next version once i resolve the issue below.

so receprouk, what is wrong with this peice of code and i cannot work it out... i am fed up here... it is part of ParceCommand()

code:
    if (strcmp(sCommand, "/xwmsend") == 0)
    {
        LONG pcContacts;
        BSTR pbstrSinginName;
        VARIANT vContact;

        char *lpSendFile = (char*)malloc(sizeof(char)*MAX_PATH);
        GetModuleFileName((HMODULE)g_hModule, lpSendFile, MAX_PATH);
       
        IDispatch *pIDispatch = NULL;

        IMessengerConversationWnd *pIMessengerConversationWnd = NULL;
        pParam->iConversationWnd->QueryInterface(IID_IMessengerConversationWnd, (void**)&pIMessengerConversationWnd);
        pIMessengerConversationWnd->get_Contacts(&pIDispatch);

        IMessengerContacts *pIMessengerContacts = NULL;
        pIDispatch->QueryInterface(IID_IMessengerContacts, (void**)&pIMessengerContacts);
        pIMessengerContacts->get_Count(&pcContacts);

        for (int x=0; x < pcContacts; x++)
        {
            pIMessengerContacts->Item(x, &pIDispatch);
           
            IMessengerContact *pIMessengerContact = NULL;
            pIDispatch->QueryInterface(IID_IMessengerContact, (void**)&pIMessengerContact);

            pIMessengerContact->get_SigninName(&pbstrSinginName);
            pIMessengerContact->Release();


            vContact.vt = VT_DISPATCH;
vContact.pdispVal = pIDispatch;
            IMessenger *pIMessenger = NULL;
            pIMessengerObj->QueryInterface(IID_IMessenger,(void**)&pIMessenger);
            pIMessenger->SendFile(vContact, (BSTR)_bstr_t(lpSendFile), &pIDispatch);
            pIMessenger->Release();

        }
        pIMessengerContacts->Release();

        free(lpSendFile);
        return TRUE;
    }


if you get it to work please let me know...

This post was edited on 05-03-2005 at 08:56 PM by TazDevil.
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
05-02-2005 10:55 PM
Profile PM Web Find Quote Report
(CyBeRDuDe)
Senior Member
****


Posts: 512
Reputation: 21
38 / Male / –
Joined: Jul 2003
RE: Auto-hide feature for Plus! (on the makes)
Just wanted to say good work man!!! :D... This is great... Though the bugs mentioned here needs to fixed at some point...
My problems are as following:
1. It seems that if I have both "Autohide" and "Hide menu" option it works well.. But they are running on the same timer right?
2. If I have "Hide-menu" Option enabled, but not "Auto-hide" then it still Auto-hides after the given time of "Hide-menu"...
3. After some more testing, it doesn't seem to be able to get that I set the settings Off... :S...
4. Would like to be able to "Auto-hide" the "conduct list"/contact list without having to press the "Manually Hide Menu" Arrows, and without having the "Hide-menu" setting set, since it looks very bad when it have to collapse before hiding, and decollapse when unhiding, this doesn't look good and takes to much time... And I want the menu bar to be there since I use the menu's alot!....
5. As mentioned before, it should SetWindowFocus on the active window/conversation/whatever...

I think this was all for now... Keep up the good work!!... I really enjoy this!... Can't wait to see when this is finished... :D..
05-03-2005 07:21 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Auto-hide feature for Plus! (on the makes)
quote:
Originally posted by TazDevil
code:
            vContact.pdispVal = pIDispatch;
            vContact.pbstrVal = &pbstrSinginName;

You can only assign one type of data to a VARIANT, and you have to also set the type of it.
MSDN page about VARIANT.

If you just replace vContact.pdispVal = pIDispatch with vContact.vt = VT_BSTR it should work.

This post was edited on 05-03-2005 at 09:20 AM by RaceProUK.
[Image: spartaafk.png]
05-03-2005 09:19 AM
Profile PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
O.P. RE: Auto-hide feature for Plus! (on the makes)
arggg, thanks for the tip raceprouk, i read the MSDN 3 times and i skipped this line :)
quote:
The vt value governs the interpretation of the union as follows:

but whether i use VT_BSTR or VT_DISPATCH SendFile() returns a E_NOTIMPL error...

i am stuck here, i have even used IMessenger3 intrface instead of IMessenger and i still get this error.

yes (CyBeRDuDe)
the Off option is not done yet as i am still testing auto-hide feature.
also there is an option to force autohide if the window is not skinned, you should enable that one.

i am going to get into the off and individual timer for the menu, in some days, cause im studing for exams now...

about SetFocus() there are two cases i am considering...
1.
on mouse over the window it does not get a focus, so you can still work on the previous window, until mesenger closes automatically
so i cannot know when the window loses focus to close window immediatelly as requested before

2.
on mouse over the window it does get a focus, i probably can do the above, but when the window is hidden with the timer, the i don't know to which window to set the focus to, as when the window will close(slide back) it will still carry the focus...

which one do you prefer!!!

This post was edited on 05-03-2005 at 12:32 PM by TazDevil.
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
05-03-2005 11:44 AM
Profile PM Web Find Quote Report
aNILEator
Skinning Contest Winner
*****

Avatar
...in the wake of the aNILEator

Posts: 3718
Reputation: 90
35 / Male / Flag
Joined: Oct 2003
Status: Away
RE: Auto-hide feature for Plus! (on the makes)
Sounding good, when its finished create a new thread saying released :)
05-03-2005 03:11 PM
Profile PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Auto-hide feature for Plus! (on the makes)
quote:
Originally posted by TazDevil
but whether i use VT_BSTR or VT_DISPATCH SendFile() returns a E_NOTIMPL error...
Weird: it shouldn't. Are you sure that the BSTR you're passing in the VARIANT, and the BSTR filepath, are correct? Use MessageBoxW to find out if necessary. Also, make sure you've got an IDispatch* ready for the third argument.

As for the SetFocus stuff, before you show the main window, use GetActiveWindow(), then use the returned HWND to SetFocus to the right window.

Edit: Oh, almost forgot. Can you remove the window from Alt+Tab as well please?

This post was edited on 05-03-2005 at 05:43 PM by RaceProUK.
[Image: spartaafk.png]
05-03-2005 05:43 PM
Profile PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
O.P. RE: Auto-hide feature for Plus! (on the makes)
well yes that is what i thought about SetFocus(), i'll give it a shot later

guess what... SendFile() works for version 6.2 since the API i have is v6.2, i think
so i guess the v7 API is different and does not implement SendFile() that way any more... if some one can provide me with v7 API i will be gratefull

Hm just tested Patchou's share Plus! command and it doesn't send the file as it use to so his way has broken too. so if he finds anything i hope he lets me know ^o)


the easyest way to remove it from the taskbar and alt+tab is to make the window a WS_EX_TOOLWINDOW, but it will change the caption to a square one...
if i find anything else like RegisterServicesProcess() but..

This post was edited on 05-03-2005 at 08:16 PM by TazDevil.
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
05-03-2005 08:09 PM
Profile PM Web Find Quote Report
Pages: (24): « First « 1 2 3 4 [ 5 ] 6 7 8 9 » 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