Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dev dev is offline
external usenet poster
 
Posts: 66
Default docking a form in Excel

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!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
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!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Toolbar Re-Docking Robert11 New Users to Excel 1 February 2nd 07 03:28 PM
Un-docking the Watch Window in Excel Worksheet Paul Excel Programming 2 November 22nd 04 08:15 PM
--- Problem, How to do DOCKING WINDOW IN EXCEL !!! --- Qra Excel Programming 0 August 8th 04 10:18 PM
Docking windows in the IDE Nathan Excel Programming 2 July 12th 04 03:46 PM
VBA - Immediate Window not docking Richard Buttrey[_5_] Excel Programming 1 February 4th 04 10:51 PM


All times are GMT +1. The time now is 05:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"