Your DesktopX Documentation Resource Guide

Documentation Home

Quick Start

User's Guide

Developer's Guide

Resources

Tutorials


By now you should realize just w

Scriptable Mail notification plugin SDK sample

This plugin is a scriptable version of the old SDMailNotify plugin. For an user perspective discussion please refer to the Scriptable plugins section. For a real sample you can import the widget MailCheck.exe into DesktopX Builder and check how its script works with regards to plugin interoperability.

You can download the plugin source code here.

There are a few things to note while you look at the source code:

  • There is no configuration management. It is left to the actual script.
  • It uses the special SD_SCRIPTABLE_PLUGIN_EVENT message to fire script events. This is supposed to solve threading issues as compared to actual native event mechanisms. With this regard, DesktopX is serving as an event proxy.
  • You should compile using the Debug or Release MinSize configuration.
  • There is a custom implementation of DllRegisterServer all scriptable plugins should comply with. It is basically registering the plugin information using HKEY_CURRENT_USER rather than HKEY_LOCAL_MACHINE. This allows auto-setup when running a gadget under limited user privileges.

 


6/30 

Stardock prepares major update for Sins of a Solar Empire through an open beta

6/27 

Stardock releases first update to The Political Machine

6/26 

Epic Carnage Arrives with the Unreal Series

6/24 

Discover the Truth in Belief & Betrayal

6/23 

Conquer Germania for the Glory of Rome!

6/17 

The Political Machine 2008 Now Available

6/17 

Stardock Launches Impulse: The PC's Next-Generation Distribution Platform

6/5 

Conquer Britannia in the First Imperium Romanum Booster