Hello there proggers!

I have two questions for you all!
1. Is there anyone who knows how to implement some kind of DDE functions in my program. The purpose is that I want to create some plugins to my program and I need to determine when the mainprogram raises an event. Like cathing the windows messages...

2. I want to add a menuitem to the menu that appears when you rightclick on a folder in Explorer. I know how to add a menuitem how to shell a prog when you click it. But I wonder if there is an ability to create sub menus to that menu like the ICQ menu (Send to user > All users online).

Thanx!