Hi, i have an app that loads SplashScreen on startup. Thi is done via a
DrawImage call
on a bitmap in the Splash form's OnPaintBackgroundEvent.

The SplashForm itself is called via ShowDialog. In V1.0 in the Slpash Forms
load event
handler i call the Refresh method and this causes the OnPaintBackGround
event handler to
be called so it works fine.

With V2.0 i am finding the OnPaintbackGround event is not even firing so
the bitmap
can't be displayed. What has changed with this stuff in V2.0. i am using
exactly the same code.

Re: V2 breaks app by Ilya

Ilya
Wed Jul 19 13:54:08 CDT 2006

Is that the same V1 binary running against V2 or you're recompiling code for
V2?



In first case you might try compatibility mode:



http://blogs.msdn.com/davidklinems/archive/2005/04/19/409541.aspx



If it does not work, please let me know.



If you moving your application to V2, you'd need to simply fix these
issues - V2 indeed deviates from V1 in some cases.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"HW" <hw@hotmail.com> wrote in message
news:%23HGVPnzqGHA.4992@TK2MSFTNGP05.phx.gbl...
> Hi, i have an app that loads SplashScreen on startup. Thi is done via a
> DrawImage call
> on a bitmap in the Splash form's OnPaintBackgroundEvent.
>
> The SplashForm itself is called via ShowDialog. In V1.0 in the Slpash
> Forms load event
> handler i call the Refresh method and this causes the OnPaintBackGround
> event handler to
> be called so it works fine.
>
> With V2.0 i am finding the OnPaintbackGround event is not even firing so
> the bitmap
> can't be displayed. What has changed with this stuff in V2.0. i am using
> exactly the same code.
>
>
>