Re: event disappearing
From: Tim Jarvis (TimJarvis_at_newsgroup.nospam)
Date: 11/24/04
- Next message: Mohamoss: "RE: Dynamically generate a MS Word document using ASP.Net"
- Previous message: Peter Jausovec: "Re: problem with DataBase"
- In reply to: Kevin Yu [MSFT]: "RE: event disappearing"
- Next in thread: Kevin Yu [MSFT]: "Re: event disappearing"
- Reply: Kevin Yu [MSFT]: "Re: event disappearing"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Nov 2004 02:52:01 -0800
Kevin Yu [MSFT] wrote:
> Hi Tim,
>
> First of all, I would like to confirm my understanding of your issue.
> From your description, I understand that the custom event was not
> fired when the app is running in release mode. However, in debug
> mode, it works fine. If there is any misunderstanding, please feel
> free to let me know.
>
> If it fires in debug mode, I think it has to be fired also in release
> mode. Could you please post some of your code here for an example,
> so that I can try to repro it on my machine? It will be more quickly
> for us to deliver our assistance with some source code. Thanks!
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
Hi Kevin,
Nope, that's not it. I have not tried it in release mode, it is that
the event does not fire when the app is run normally (or in the IDE)
but does fire when stepping through the code in the debugger.
In fact further investigation tells me that it is in fact just the
paint message that is being lost, I do indeed have several
debug.writeline messages ( thanks for the suggestion Tim A, but had
already done that) and that is writing a debug message in the custom
event, however at the end of the event handling code I invalidate the
control to repaint, its this that is being eaten, however when stepping
through the code, on resumption the paint works fine.
The code is part of a very large project with tendrils that run very
deep and connect to an OPF, to extract the control will be very time
consuming (probably a day or so, conservatively)....which I might have
to resort to, but if you can help without it in the first instance that
would be fab.
Regards Tim.
- Next message: Mohamoss: "RE: Dynamically generate a MS Word document using ASP.Net"
- Previous message: Peter Jausovec: "Re: problem with DataBase"
- In reply to: Kevin Yu [MSFT]: "RE: event disappearing"
- Next in thread: Kevin Yu [MSFT]: "Re: event disappearing"
- Reply: Kevin Yu [MSFT]: "Re: event disappearing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|