docking a form in Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a winform application which is addin to Excel (written in C#). Is
there a way to dock this form in Excel - I want to dock it to right most of
the Excel workbook. Thanks for any suggestions..

Thanks!!
 
Here is a rather savage approach, but it works. You can use the "windows"
API routines to find the proper anchor locations and move your form to
compensate. You can also tie to the Excel.Application events (WindowResize,
etc.) to adjust accordingly.

Hopefully someone will provide a more elegant solution, but this suffice if
you are pressed for time.

Regards,
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top