This sample is located in \Samples\JDirect\Tbaricon.
Description
Using the Sample
Key Project Files
Technologies Demonstrated
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.
To run the sample
Run Go.bat in the \Samples\JDirect\Tbaricon directory.
This file contains the TBarWndProc class, which is a callback that receives window messages from the taskbar icon.