ComMÉDIA
for Windows CE HomeSource CodeSystem Tray ActiveX Controls



References


Windows CE
Web Community



[Prev] [Random] [Next]
[List Sites] [Next 5]

VBCE Systray Test.zip   (12k)

This example show how to include an icon on the System Tray of the Windows CE device and how to handle Click and Double-Click events over that icon.

The example extracts all those icons from a DLL file (stIcons.dll) using a sequential negative number (starting on -101) to reference them. The first icon on the DLL may also be referenced as 0.

To build the icon DLL files you may use VC++ with the CE Toolkit or a special tool like "VBCE Icons Tool" available here.

To test Static Icon: 

Press "Add" to show an icon (arrows) on the System Tray.
Each time you press "Modify" those arrows will change direction.
You can Click and Double-Click over the icon and see related messages.
End the operation by pressing "Delete"

To test Animated Icon: 

Press "Start". A rotating moon will show up on the system tray.
Try changing the speed of rotation
You can also Click and Double-Click over it.
Press "Stop" to end the test.

The file "stIcons.dll" on this directory has been built for a MIPS device.

To use this example on a device with an SH3 processor, rename the file "stIcons.SH3.dll" to "stIcons.dll". 

The same way, if you want to test it on the Emulator, rename the file "stIcons.X86.dll" to "stIcons.dll".

This file, "stIcons.dll", has been added as a RelatedDoc to the project so it will also be copied (to the root directory together with the .vb file) when you run the project.

Be aware that some of the functionality is not available on the Emulator, specifically the Click and Double-Click on the System Tray icon.

Enjoy,
ComMEDIA, Lda.



[ Home ] [ Source Code ] [ Articles ] [ Download ] [ Support ]
[ VBCE Icons Tool ] [ ActiveX Controls ]

Copyright ComMedia 2000-2003. All rights reserved.
Microsoft, Windows CE, and Visual Basic are registered trademarks of Microsoft Corporation.

Windows CE ActiveX Controls specifically designed in ATL for eVB.

Date Time
Month Calendar
Progress Bar
Popup Menu
Tray Icon
Locale
Settings
RAS Dial
RAS Entries
RAS PPTP

>> Try them! <<


Icons Tool

The Evaluation version of the
VBCE Icons Tool
performs exactly as the registered version but draws all Icons over a grid with scrambled colors .

Check the details.

VBCE UDT's

"...to extend the intrinsic VB functionality with extra functions provided by the MS Windows Operating System..."

more...