Simon Rose
June 10th, 1999, 06:14 AM
Hi,
I have a tree control in a dockable dialog bar, and I would like to be able to display a context menu for it, depending on which tree item is picked. The problem is I have no class for the tree, no variable for the tree, so I have to use OnNotify and OnCommand of my frame window to receive and decode the messages. I can tell when the message is from my tree, but can't get any further.
Can anyone help me with this, or is there a way to connect the control to a class to make this easier ?
Thanks in advance for any help,
Simon
I have a tree control in a dockable dialog bar, and I would like to be able to display a context menu for it, depending on which tree item is picked. The problem is I have no class for the tree, no variable for the tree, so I have to use OnNotify and OnCommand of my frame window to receive and decode the messages. I can tell when the message is from my tree, but can't get any further.
Can anyone help me with this, or is there a way to connect the control to a class to make this easier ?
Thanks in advance for any help,
Simon