Re: Cosmetic Slidey redraw bug



"Steve Alan Waring" <swaring@xxxxxxxxxxxxxx> wrote in message
news:1144642679.609751.71820@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Blair,

I have a raw (very raw!) message spy goodie that logs all windows
messages and UserLibrary message sends. It is still close to impossible
to work out what is going on, ...

:-). Ah the pleasures of Windows programming...

....but I can see the SlidingCardTray getting
a WM_PAINT after you do the invalidates. I can also see its child
getting a WM_PAINT. What I can't see is the child getting a layout.

When SlideyInneyOuteyThing unpins the SlidingCardTray it makes it
unmanaged. As a result when #ensureLayoutValid is sent, it gets passed
up the parent chain, but #validateLayout: not make it back down to the
SlidingCardTray. ...

Good call Steve. That would also explain why the redraw of the pin causes it
to redraw the tray correctly, since by inserting a little instrumentation I
can see the tray layout getting validated when hovering over the pin.

Not sure yet if your patch is right, but this will definitely be fixed in
the next PL.

Thanks

Blair


.



Relevant Pages

  • Re: Digital photos with outdoor haze or indoor bloom
    ... haze shows up as a color cast, it should be easy enough to neutralize that. ... don't think there's an exposure change or editing software which would ... frame to somewhere other than one of these windows (assuming center-spot ... I would suggest either shooting raw and post-processing with photoshop & ...
    (rec.travel.europe)
  • Re: Need Help Fixing GDI Leaks
    ... > presents data from one of the machines. ... > instigating a need to redraw the view every second. ... You are still breaking Rule 1 of Windows painting. ... your view would not properly repaint when uncovered. ...
    (microsoft.public.vc.mfc)
  • Re: Need Help Fixing GDI Leaks
    ... > presents data from one of the machines. ... > instigating a need to redraw the view every second. ... You are still breaking Rule 1 of Windows painting. ... your view would not properly repaint when uncovered. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Need Help Fixing GDI Leaks
    ... > presents data from one of the machines. ... > instigating a need to redraw the view every second. ... You are still breaking Rule 1 of Windows painting. ... your view would not properly repaint when uncovered. ...
    (microsoft.public.vc.mfc.docview)
  • Re: Start Menu Trouble
    ... DEP error when I tried to 'pin' who knows, but at least I know the DEP ... And I can delete my 'pins' only from within Windows ... Available Physical Memory 93.39 MB ...
    (microsoft.public.windowsxp.general)