View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bill Pfister Bill Pfister is offline
external usenet poster
 
Posts: 132
Default docking a form in Excel

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


"Dev" wrote:

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!!