home | support | contact | forum

Zhorn Software
stickies | bart | zbar | caffeine | cas | birthday reminder | soundboard | vnchelper
Stickies

Download

Screenshots

FAQ

Tools

API

    Overview

    Code

    Commands

    Events

    Code ideas

Skins

Versions

Stickies API 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)

 

John Papadopoulos (JohnPap) has provided a full VB6 project which can communicate with Stickies. The project is designed for a VB6 Enterprise Edition installation which has had all the service packs applied. The zip file also contains a pre-compiled executable.

Sample application in VB6 (11k)

 

John Papadopoulos (JohnPap) has provided a full VB 2008 project which can communicate with Stickies. The project is designed for a VB 2008 Express Edition (.NET Framework 3.5 SP1) installation. The zip file also contains a pre-compiled executable.

Sample application in VB2008 (113k)

 

'itmanager' has supplied an additional file which will enable John's VB 2008 file to work with VB 2005.

VB 2005 Solution file (1k)

© Zhorn Software 2010