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

coredll

.

[DllImport ("coredll.dll", EntryPoint="SetTextColor", SetLastError=true)]

.

private static extern uint SetTextColorCE(IntPtr hdc, int crColor);

.

Declare Function SetTextColor Lib "coredll.dll" (TODO) As TODO

.
Documentation
[SetTextColor] on MSDN

Constants

2: EMR_
.

        EMR_SETTEXTCOLOR           = 24,

Enums

.

            SETTEXTCOLOR             = (FIRST + 36),

gdi32

.
Summary
.

static extern uint SetTextColor(IntPtr hdc, int crColor);

.

public Function SetTextColor(hdc As IntPtr, crColor as Integer) as UInteger

.

Public Declare Function SetTextColor Lib "gdi32.dll" _

.

static extern int SetTextColor(IntPtr hdc, int crColor);

.

        SetTextColor(hdc, ColorTranslator.ToWin32(Color.SteelBlue));

.
Documentation
[SetTextColor] on MSDN
.

    Private Shared Function SetTextColor(ByVal hdc As IntPtr, ByVal crColor As Integer) As UInt32

.

            SetTextColor(Hdc, ColorTranslator.ToWin32(Color.Red))


 
Access PInvoke.net directly from VS: