Re: event disappearing

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tim Jarvis (TimJarvis_at_newsgroup.nospam)
Date: 11/24/04


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.



Relevant Pages

  • RE: Server Error in /Remote Application.
    ... > Hi Kevin, ... > detailed error message to the newsgroup so that I can better understand ... > | workstations through the normal remote screen. ... The current error page you are seeing can be replaced by a custom ...
    (microsoft.public.windows.server.sbs)
  • Re: cant get more stupid then this..
    ... The name of the form field must exactly ... > match the value you type in in the Custom Query. ... > Kevin Spencer ...
    (microsoft.public.frontpage.programming)
  • Re: Y&R- LOVED Sharons Smackdown On Brad!
    ... I don't care how much they try to make Kevin ... >>> passionate for Mac, it's just not working, imo. ... >>> beloved restaurant on fire in an effort to murder Colleen. ...
    (rec.arts.tv.soaps.cbs)
  • Re: Cube Files in DIrect X 5
    ... Kevin R & Phil Taylor ... .Net for develpoment but cause Microsft has seperated Direct-X from ... > also use the debug runtime, turn up the debug level, and examine the debug ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Handguns - Was: A scary twist...
    ... Kevin W. Miller wrote: ... I used to wonder about that a bit but the 1911 has three safety mechanisms all of which have to be activated at the same time for the thing to fire. ...
    (rec.outdoors.rv-travel)