SAP Program CFW_WORKSHOP_CONTEXTMENU - Example: Simple tree control (with documentation)

Description
This program demonstrates how you can use the simple tree control fornavigation.
In addition to its output fields, the screen contains two customcontrol containers, one of which is occupied by the tree. In the otheris a picture control, which displays different pictures according tothe node that you select in the tree.
The context menu is active for the picture control. Once it has beenregistered, an event is sent to the program each time the user requeststhe context menu using the right mouse button. The event handlergenerates the context menu dynamically and sends it back to thecontrol.
The node selection in the tree control is handled using a separateevent.