
Signature
Harry Miller
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks, of course you are right.
Actually I declared at instance variable, but unfortunately the wrong
variable, but are you able to explain to me why it works when I did an
explicit garbage collection (which of course did not collect the menu
variable, too early for that) ?
> Make sure you declare the menu items at the class level, not in a method,
> or
[quoted text clipped - 33 lines]
>> > debugging, the messagebox does not show up.
>> > Anyone knows why ?
Harry Miller [MSFT] - 23 May 2006 16:26 GMT
No, I can't explain it. That had me wondering, too.

Signature
Harry Miller
This posting is provided "AS IS" with no warranties, and confers no rights.
> Thanks, of course you are right.
> Actually I declared at instance variable, but unfortunately the wrong
[quoted text clipped - 39 lines]
> >> > debugging, the messagebox does not show up.
> >> > Anyone knows why ?