TBarIcon J/Direct Sample

This sample is located in \Samples\JDirect\Tbaricon.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This advanced sample displays and captures mouse messages from a taskbar notification icon. It puts an icon in the lower right corner of the system taskbar. When you click or double-click a mouse button, an event message is displayed in the console window.

Using the Sample

To run the sample

Run Go.bat in the \Samples\JDirect\Tbaricon directory.

Key Project Files

TBarIcon.java

This file contains the TBarWndProc class, which is a callback that receives window messages from the taskbar icon.

Technologies Demonstrated

Microsoft J/Direct

© 1999 Microsoft Corporation. All rights reserved. Terms of use.