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 "CreateSolidBrush" in [All]

gdi32

.

        static extern IntPtr CreateSolidBrush(uint crColor);

.

                IntPtr brush = CreateSolidBrush(0x0); // black, of format : //0x00bbggrr

.
Summary
.

static extern IntPtr CreateSolidBrush(uint crColor);

.

Private Shared Function CreateSolidBrush(crColor As UInteger) As IntPtr

.

        static extern IntPtr CreateSolidBrush(uint crColor);

.

                IntPtr brush = CreateSolidBrush((uint)ColorTranslator.ToWin32(Color.Black));

.
Documentation
[CreateSolidBrush] on MSDN
.

public static extern IntPtr CreateSolidBrush(int crColor);

.

    IntPtr vBrush = CreateSolidBrush(ColorTranslator.ToWin32(Color.Red));

.

        static extern IntPtr CreateSolidBrush(uint crColor);

.

                IntPtr brush = CreateSolidBrush(0x0); // black, of format : //0x00bbggrr

.

    public static extern IntPtr CreateSolidBrush(uint crColor);

.

        IntPtr theBrush = GDI32.CreateSolidBrush((uint)GDI32.RGB(Color.White));

coredll

.

[DllImport("gdi32.dll", EntryPoint="CreateSolidBrush", SetLastError=true)]

.

public static extern IntPtr CreateSolidBrush( int crColor );

.

Declare Function CreateSolidBrush Lib "gdi32.dll" (TODO) As TODO

.
Documentation
[CreateSolidBrush] on MSDN

 
Access PInvoke.net directly from VS: