home | support |contact | forum
Zhorn Software
Applications
Stickies
Stickies
Download
Screenshots
FAQ
Tools
PPC Stickies
PalmOS Stickies
Skins
API
Overview
Sample Code
Commands
Events
Code ideas
Versions
Forum
Frappr
Birthday Reminder
Bart
Cas
Caffeine
VNCHelper
sp
KeyCounter
Soundboard
Articles
Adding the XP/Vista visual style to VC++ 6 projects
Creating a PPC installer
API Sample Code

The screenshot shows the sample application which demonstrates communication with the Stickies API, and also a single basic function. In order to send an API message to Stickies, type it in the top box, and press return. The outgoing message is then displayed in the left hand list box, and the reply in the middle one.

Part of the API includes receiving messages from Stickies when certain events occur. These are displayed in the right list box, but note that before you receive any, the applications needs to register with Stickies for events.

The code behind the !! button is a simple example of the sort of thing the API could be used for. It's a function which is never going to be built into Stickies, but nonetheless, there are probably some users of the app who would think what it does is really cool. I'll leave it as exercise for you as to whether you click the button, or read the code to work out what it does ;)

Sample application in C# (37k)

Sample application in Visual C++ (23k)

 

Also available is a VC++ non-MFC project command line application which sends one-way messages to Stickies. It's one-way, as command line apps have no window to which Stickies can send replies. To that end, it's rather limited in what it can do.

Command line API (18k)

© Tom Revell 2007