Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "RoundRect" in [All]

Constants

1: EMR_
.

        EMR_ROUNDRECT          = 44,

gdi32

.
Summary
.

static extern IntPtr CreateRoundRectRgn(int x1, int y1, int x2, int y2,

.

        IntPtr _RegionHandle = CreateRoundRectRgn( 10, 10, 60, 60, 10, 10 );

.
Documentation
[CreateRoundRectRgn] on MSDN
.
Summary
.

static extern bool RoundRect(IntPtr hdc, int nLeftRect, int nTopRect,

.

    public static extern bool RoundRect(RECT lpRect, Point point);

.

    public static extern bool RoundRect(IntPtr hdc, int nLeftRect, int nTopRect,

.

        DrawRoundRect(e.Graphics);

.

    public void DrawRoundRect(Graphics gr)

.

        GDI32.RoundRect(hDC, 0, 0, this.Width, this.Height, 20, 20);

.
Documentation
[RoundRect] on MSDN

user32

.

static extern IntPtr CreateRoundRectRgn(int x1, int y1, int x2, int y2,int cx, int cy);

.

SetWindowRgn (this.Handle, CreateRoundRectRgn ( 0, 0, 562, 257, 20, 20 ),true);


 
Access PInvoke.net directly from VS: