We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Hosting Windows Forms Controls in COM Control Containers
|
| Subject: |
|
Context Menu |
| Date: |
|
2003-10-08 07:51:57 |
| From: |
|
anonymous2
|
|
|
|
I've to host a windows forms control in Excel, and following the COMRegisterFunction and COMUNRegisterFunction I got it to work. The control inserts fine and also works ok including the context menu upon insert. But when I save and close the workbook and open it back the control draws correctly, but the context menu no longer works. I'm associated a ContextMenu to the .net usercontrol. Am I doing something wrong??
Thanks.
|