[Bug 18660] New: .NET app needs SystemParametersInfoW( SPI_GETDROPSHADOW) handled

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 27 18:13:53 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18660

           Summary: .NET app needs SystemParametersInfoW(
                    SPI_GETDROPSHADOW) handled
           Product: Wine
           Version: 1.1.22
          Platform: Other
               URL: http://www.codeproject.com/KB/mobile/UMPCOptimizedSamp
                    le.aspx
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: user32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


Hello,

a .NET 3.0 app dies due to SystemParametersInfoW( SPI_GETDROPSHADOW) not
handled:

--- snip ---
fixme:system:SystemParametersInfoW Unimplemented action: 4132
(SPI_GETDROPSHADOW)
--- snip ---

and managed backtrace:

--- snip ---
Unhandled Exception: System.ComponentModel.Win32Exception: Invalid SPI
parameter
   at System.Windows.SystemParameters.get_DropShadow()
   at System.Windows.SystemResourceKey.get_Resource()
   at System.Windows.SystemResources.FindResourceInternal(Object key, Boolean
allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference)
   at System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe,
FrameworkContentElement fce, DependencyProperty dp, Object resourceKey, Object
unlinkedParent, Boolean allowDeferredResourceReference, Boolean
mustReturnDeferredResourceReference, DependencyObject boundaryElement, Boolean
isImplicitStyleLookup, Object& source)
...
--- snip ---

Handling SPI_GETDROPSHADOW keeps the app happy (returning hard coded bool for a
start).

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list