View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Mircea Pleteriu Mircea Pleteriu is offline
external usenet poster
 
Posts: 28
Default Excel does not redraw iteself

Not at all. The Excel does not repaint and an image with the message box at
the previous position remains on the screen.

"Fredrik Wahlgren" wrote in message
...

"Mircea Pleteriu" wrote in message
...
Hi,

I'm developing a class which opens the MS Excel
and extend the context menu with a new item. When the item is clicked

all
it
does is to popup a message box.
While the message box is displayed, it seems that Excel is locked up and

not
redrawing its surface until message box control returns to it, that is,
until the message box is acknowledged.

I mention that my class is not a macro. It just accesses the Excel from
within an .NET Windows Application.

Any idea why MS Excel framwork does not get repaint while the message

box
is
shown?

Thanks,
Mircea



What happens if you drag the messagebox around? Will it be all white?

/Fredrik