Desktop Functions: Smart Device Functions:
|
Search Results for "DeviceContext" in [All]gdi32
static extern TODO DeviceContext(TODO);
Declare Function DeviceContext Lib "gdi32.dll" (TODO) As TODO If you are using Graphics as a DeviceContext you can use the DpiX and DpiY attributes. (Julian Taupe) user323: GetDC
static extern IntPtr GetDCEx(IntPtr hWnd, IntPtr hrgnClip, DeviceContextValues flags);
Private Shared Function GetDCEx(ByVal hWnd As IntPtr, ByVal hrgnClip As IntPtr, ByVal DeviceContextValues As DeviceContextValues) As IntPtr
Private Declare Function Lib "user32.dll" GetDCEx(ByVal hWnd As IntPtr, ByVal hrgnClip As IntPtr, ByVal DeviceContextValues As DeviceContextValues) As IntPtr Specifies how the DC is created. This parameter can be one or more of the DeviceContextValues enumeration.</param> 4: GetDCEx
static extern IntPtr GetDCEx(IntPtr hWnd, IntPtr hrgnClip, DeviceContextValues flags);
Private Shared Function GetDCEx(ByVal hWnd As IntPtr, ByVal hrgnClip As IntPtr, ByVal DeviceContextValues As Integer) As IntPtr
Private Declare Function Lib "user32.dll" GetDCEx(ByVal hWnd As IntPtr, ByVal hrgnClip As IntPtr, ByVal DeviceContextValues As Integer) As IntPtr
protected enum DeviceContextValues : uint Specifies how the DC is created. This parameter can be one or more of the DeviceContextValues enumeration.</param>
Dim destDeviceContext As IntPtr = g.GetHdc
Dim srcDeviceContext As IntPtr = GetWindowDC(windowHandle)
BitBlt(destDeviceContext, 0, 0, size.Width, size.Height, _
srcDeviceContext, location.X, location.Y, SRCCOPY)
ReleaseDC(windowHandle, srcDeviceContext)
g.ReleaseHdc(destDeviceContext) Enums |