This is a very simple command that performs a very specific action and then terminates. This command re-parents the selected nodes by placing the nodes beneath the last item in the selection buffer.
Please download the following source code for each example.
This command is separated into three key sections:
The header and includes determine the module to which the command is linked and the module responsible for presenting the command. The command header and includes are as follows:
The command declaration registers the command as a "command" and contains a GUID used by the shell to distinguish the command from all others. The command declaration is as follows:
The command Implementation implements the command. The command implementation is as follows: