Magnum has finally posted a gadget I designed to generate a fireworks display. This was a test project to let me see if it was possible to make a custom external program "Dock" with Mushclient, so that it resizes and moves in response to Muschlient's own changes. This means it should remain pinned to the side of Mushclient, so long as it still has enough room to fit itself in between Mushclient and the edge of your screen.
First the bad news:
This is probably best considered to be a Beta version, since there appears to be some issues with Mushclient failing to release the component if you use the Reinstall option for plugins and Magnum has reported some odd quirks with it under XP. I have no idea if his problem is due to XP, something I completely messed up or just the gadget reacting badly to the way he has Musclient set up.
Basically, as long as you have at least 50 pixels of space to the right of the Mushclient window it 'should' work. Same if you change the very basic plugin provide to use Top, Bottom or Left. There 'may' be problems for windows that lack enough space and I haven't yet made 100% sure that the code for anything except Right (and maybe Bottom) work.
If I can figure out how... I may also add the ability to have it always appear on top. This isn't an easy thing to do in VB6.
The good news:
It will work correctly, if your setup leaves space for the the gadget window on the right side of the desktop. It will correctly resize itself if you change the size of Mushclient.
If all else fails you can use the commands to "undock" the window, then manually "MoveTo" and "Resize" it to anyplace you like. It is still a good idea to let it "Dock" first, so that when it first appears, it won't grab the keyboard away from Mushclient.
Finally, this is designed to be a universal gadget. This means that 'any' client or program that can use ActiveX can give the gadget the name of that client's window (or usually part of it) and have it dock to that window the same way it does be default with Mushclient.
---
The plugin supplied with it is designed to do the bare minimum.
1. Connect to the gadget
2. Have it dock with Muschlient and
3. Provide a trigger and some code for the Ages of Despair mud that responds to a firework like event sometimes seen on that mud.
Instruction on how all the commands work is in the readme that gets installed with the gadget. ;)
You can get the gadget and basic plugin from:
http://www.magma.ca/~magnumsw/muds/mc_firework.zip
There is also an example program (with source) that shows the basic API functions needed to retrieve information about a window and which I used to get the info I needed to dock the gadget with Mushclient and to return control to it after. It doesn't have any of the complete docking code, but then I'm not going to do all the work for you. ;) lol You can get that example program and code here:
http://www.magma.ca/~magnumsw/muds/enumwin.zip
Hopefully I can find/fix any odd bugs I missed over the next few days or so. Best to hope I don't get distracted like Magnum did for the 4-5 days it took 'him' to even post these things. lol
First the bad news:
This is probably best considered to be a Beta version, since there appears to be some issues with Mushclient failing to release the component if you use the Reinstall option for plugins and Magnum has reported some odd quirks with it under XP. I have no idea if his problem is due to XP, something I completely messed up or just the gadget reacting badly to the way he has Musclient set up.
Basically, as long as you have at least 50 pixels of space to the right of the Mushclient window it 'should' work. Same if you change the very basic plugin provide to use Top, Bottom or Left. There 'may' be problems for windows that lack enough space and I haven't yet made 100% sure that the code for anything except Right (and maybe Bottom) work.
If I can figure out how... I may also add the ability to have it always appear on top. This isn't an easy thing to do in VB6.
The good news:
It will work correctly, if your setup leaves space for the the gadget window on the right side of the desktop. It will correctly resize itself if you change the size of Mushclient.
If all else fails you can use the commands to "undock" the window, then manually "MoveTo" and "Resize" it to anyplace you like. It is still a good idea to let it "Dock" first, so that when it first appears, it won't grab the keyboard away from Mushclient.
Finally, this is designed to be a universal gadget. This means that 'any' client or program that can use ActiveX can give the gadget the name of that client's window (or usually part of it) and have it dock to that window the same way it does be default with Mushclient.
---
The plugin supplied with it is designed to do the bare minimum.
1. Connect to the gadget
2. Have it dock with Muschlient and
3. Provide a trigger and some code for the Ages of Despair mud that responds to a firework like event sometimes seen on that mud.
Instruction on how all the commands work is in the readme that gets installed with the gadget. ;)
You can get the gadget and basic plugin from:
http://www.magma.ca/~magnumsw/muds/mc_firework.zip
There is also an example program (with source) that shows the basic API functions needed to retrieve information about a window and which I used to get the info I needed to dock the gadget with Mushclient and to return control to it after. It doesn't have any of the complete docking code, but then I'm not going to do all the work for you. ;) lol You can get that example program and code here:
http://www.magma.ca/~magnumsw/muds/enumwin.zip
Hopefully I can find/fix any odd bugs I missed over the next few days or so. Best to hope I don't get distracted like Magnum did for the 4-5 days it took 'him' to even post these things. lol