LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default Excel's main windows does not redraw

Hi

I think in this scenario, we would better write a COM Addin to set the
click call back function. Because when we automation Excel to tell the
Excel to add a context menu item, while setting the call back function in
the Winform's member function. Since Excel will try to call the event
handler, while the event handler function is in another process.
So I think you may try to write a COM Addin so that the event handler in
the C# Com-Addin will be in the same process of Excel(The Addin assembly
will be loaded into Excel process)
Here is a sample add-in code for your reference.
How To Build an Office COM Add-in by Using Visual C# .NET
http://support.microsoft.com/?id=302901

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

 
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
Pls confirm 2007 chart redraw is up to 10 times slower than 2003 larry godfrey Charts and Charting in Excel 27 September 6th 08 10:15 PM
Excel does not redraw iteself Mircea Pleteriu Excel Programming 13 March 14th 05 04:10 PM
Redraw Application Window Kevin Excel Programming 2 September 27th 04 02:40 PM
How can you turn off screen Redraw Tom Ogilvy Excel Programming 0 June 3rd 04 09:05 PM
How can you turn off screen Redraw Masked Coder Excel Programming 0 June 3rd 04 08:53 PM


All times are GMT +1. The time now is 06:52 AM.

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"