ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

A plugin based information bar in Windows

<< < (13/16) > >>

fenixproductions:
1 & 2.

I have XP SP3 here and it seems like ClearType problem for me.

A plugin based information bar in Windows

3. Yes. This is what I meant.

4. Strange. It does not happen now but I could reproduce it yesterday (no matter with or without restart).

6 & 8. OK. Now I understand.

7. No. I mean red icon in top right corner which allows to shutdown / hibernate / etc. my system. I have no need for icon which could be used by me only for shutdown once per day. Currently it's not a problem because there are not so many plugins but these 16px of space can be used differently later (especially when alignment will be implemented).

10. Will wait then (or put it through Reflector) :)

jake78:
I have uploaded a new version (http://www.nordicfx.com/topbar/)

* New shutdown plugin (the old shutdown icon is gone)
* Fixed column width in the plugin manager
* You can choose basic alignment of the plugins, this feature will evolve and get more intuitive ... I just wanted to get it usable for the moment
Here's an empty plugin to play with (both C# and VB): http://www.nordicfx.com/downloads/topbar/TopbarPlugin.zip
It needs the plugininterface.dll as a reference.
Keep other 3rd party dependencies together with the plugin.
The plugin file should have the file extension .top
Maximum height of the plugin should not exceed 18 pixels.
There is a property called auxVar which is for future uses.

To show a notification in the host use:
C#: ojbHost.showPopupNotification(string header, string mainMessage, string moduleText)
VB: ojbHost.showPopupNotification(ByVal header As String, ByVal mainMessage As String, ByVal moduleText As String)


I would love to see what you guys can come up with. Keep in mind that the plugin structure might change during version updates, but I will let you know beforehand.

fenixproductions:
2jake78
Thanks for an update. I will play with it soon.

Works nicely but I have few more suggestions for showPopupNotification:
- timeout (hide it after that),
- position (bar center, or close to plugin control),
- MouesOut hiding.

As for ideas: I've got too many of these ;)

jake78:
I have added some new settings to control the popup notification, you can now associate an optional audio alert and also an optional auto-hide.
I'm working on the alert positioning, still not sure how to get the location of the plugin from the host. The showPopupNotification will change ever so slightly because of these changes.

I'm now working on a new plugin, 'Web Services', which is basically a simple web browser in a window. Quick search WolframAlpha, Wikipedia and Nice Translator... without opening a browser.

I will probably upload a new update tomorrow.

jake78:
I have uploaded the latest version with the changes I mentioned in my previous post.

The new syntax for showPopupNotification is:
C#: ojbHost.showPopupNotification(string header, string mainMessage, string moduleText, PlugInInterface.Declarations.alertType alertType)
VB: ojbHost.showPopupNotification(ByVal header As String, ByVal mainMessage As String, ByVal moduleText As String, Optional ByVal alertType As alertType)

The alertType is an enumeration in PlugInInterface.Declarations.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version