Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than uxtheme, prefix the name with the module name and a period.
GetThemeMargins (uxtheme)
.
C# Signature:
[DllImport("uxtheme.dll")]
static extern int GetThemeMargins(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, int iPropId, IntPtr prc, out MARGINS pMargins);
C# Signature:
[DllImport("uxtheme", ExactSpelling=true)]
public extern static Int32 GetThemeMargins(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, int iPropId, out MARGINS pMargins);
VB .NET Signature:
Declare Function GetThemeMargins Lib "uxtheme.dll" (TODO) As TODO
<DllImport("uxtheme", ExactSpelling := True)> _
Public Shared Function GetThemeMargins(hTheme As IntPtr, hdc As IntPtr, iPartId As Integer, iStateId As Integer, iPropId As Integer, ByRef pMargins As MARGINS) As Int32
End Function
Used with the DwmExtendFrameIntoClientArea@pinvokedwmapi function to extend the Aero composition further into a given window, given the distances from the sides.
5/4/2009 1:51:30 PM - 66.249.65.229
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).