V2 breaks app

H

HW

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.
 
I

Ilya Tumanov [MS]

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top