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 user32, prefix the name with the module name and a period.
ScrollWindowEx (user32)
.
C# Signature:
[DllImport("user32.dll")]
static extern int ScrollWindowEx(IntPtr hWnd, int dx, int dy, IntPtr prcScroll,
IntPtr prcClip, IntPtr hrgnUpdate, IntPtr prcUpdate, uint flags);
User-Defined Types:
None.
Flags:
/// <summary>
/// Scroll children within *lprcScroll.
/// </summary>
public const uint SW_SCROLLCHILDREN = 0x0001;
/// <summary>
/// Invalidate after scrolling.
/// </summary>
public const uint SW_INVALIDATE = 0x0002;
/// <summary>
/// If SW_INVALIDATE, don't send WM_ERASEBACKGROUND.
/// </summary>
public const uint SW_ERASE = 0x0004;
/// <summary>
/// Use smooth scrolling.
/// </summary>
public const uint SW_SMOOTHSCROLL = 0x0010;
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
[DllImport( "user32.dll" )]
static extern int ScrollWindowEx(
IntPtr hWnd,
int dx,
int dy,
IntPtr prcScroll,
IntPtr prcClip,
IntPtr hrgnUpdate,
IntPtr prcUpdate,
uint flags );
unsafe private void hScrollBar1_Scroll( object sender, ScrollEventArgs e )
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).