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 « 2 3 4 5 [ 6 ] 7 8 9 10 » Last »
3 votes - 5 average   Window Manager Plugin (Dock, Autohide)
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Auto-hide feature for Plus! (on the makes)
code:
//Initiates send file invite.
  function SendFile(vContact: Variant; bstrFileName: BSTR): IDispatch; stdcall;
Lifted directly from the Messenger Type Library (using PE Explorer).
[Image: spartaafk.png]
05-03-2005 09:22 PM
Profile PM Web Find Quote Report
(CyBeRDuDe)
Senior Member
****


Posts: 512
Reputation: 21
37 / Male / –
Joined: Jul 2003
RE: Auto-hide feature for Plus! (on the makes)
quote:
Originally posted by TazDevil
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!!!
Ok.. I've also got exams soon.. So I don't have any time either.. :(
About the focus:
Well.. I don't know the codes for c++ but these are taking from VB, I use this in my Shortcut Plugin, when sending text to a contact
code:
Public Declare Function GetForegroundWindow Lib "USER32" () As Long
Public Declare Function SetForegroundWindow Lib "USER32" (ByVal hWnd As Long) As Long
Then before lauching the new window (or in your situation before doing the "autohide" function, just get the Hwnd from the foregroundwindow (=The active window)
code:
OldHwnd = GetForegroundWindow
and then do the task, autohide and after that set the old ForegroundWindow to the new active window again...
code:
Call SetForegroundWindow(OldHwnd)
This should do the trick.. Just rewrite it to c++... :D...
I hope this contributed with anything?...

This post was edited on 05-03-2005 at 09:31 PM by (CyBeRDuDe).
05-03-2005 09:28 PM
Profile E-Mail PM Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
40 / Male / Flag
Joined: May 2004
O.P. RE: Auto-hide feature for Plus! (on the makes)
hmm so IDispatch; stdcall; is a return value and not an argument ??? that is what you mean?

well i upload the latest progress that you will see for about a week
hide menu has its own timer now
and off is fixed now i think...

thanks (Cyberdude). i will give it a shot later.


This post was edited on 05-07-2005 at 12:53 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 09:33 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)
code:
HWND hwnd = GetForegroundWindow();
/*...*/
SetForegroundWindow(hwnd);
may work ;)

Edit: Hmm... timing's off.
And yes, I mean the IDispatch is now the return value ;)

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

Avatar
sleep(0);

Posts: 359
Reputation: 11
40 / Male / Flag
Joined: May 2004
O.P. RE: Auto-hide feature for Plus! (on the makes)
i have already tryed that raceprouk, i am going to try Get/SetFocus
beacuse i didnt get the results i expected, at least as i read Get/SetFocus send a notification WM_SETFOCUS/WM_KILLFOCUS which i will need afterall to know when focus was lost.
raceprouk can you send me a copy of the new IDL and explay how to use it ? plz
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 09:38 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)
Not sure how I can get an IDL from the Messenger exe, though I can get a TLB.
[Image: spartaafk.png]
05-04-2005 08:14 AM
Profile PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
40 / Male / Flag
Joined: May 2004
O.P. RE: Auto-hide feature for Plus! (on the makes)
well can you extract it, send it andexplain how to use it... pm me with the details
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-05-2005 10:36 AM
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)
Here's the TLB.
Sorry, but I have no idea how to use it :(

.zip File Attachment: MessengerAPI.tlb.zip (8.8 KB)
This file has been downloaded 223 time(s).
[Image: spartaafk.png]
05-05-2005 10:53 AM
Profile PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
40 / Male / Flag
Joined: May 2004
O.P. RE: Auto-hide feature for Plus! (on the makes)
thanks a lot i couldn't find it due to wrong guids en stuff...
(can you expalin how to extract it anyways..)

edit... compiles ok... lets see if it works

and you are set thanks a lot... but it will be compatible only with v7.0, no worries though in my case


i see there are a lot of coders around here, how's that nobody every begun such a project.... or take it on from where docker left)

Actually i was expecting for docker to be completed, but since i tryed to download it recently, and the link was broken and there was no update(progress) since 2001 i think..., i thought to begin a new project

/*
would love to see tabbed convos someday in this plugin as well :) if some one else does not beat me too it, before i finish these features...
*/

This post was edited on 05-07-2005 at 03:36 AM by WDZ.
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-05-2005 11:04 AM
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)
Out of interest, where could I actually download the most recent version? I've downloaded one from the previous pages but that's apprantly out of date..
05-06-2005 05:53 PM
Profile E-Mail PM Web Find Quote Report
Pages: (24): « First « 2 3 4 5 [ 6 ] 7 8 9 10 » 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