@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The SetBkMode API !!!!C# Signature: [DllImport("gdi32.dll")] static extern int SetBkMode(IntPtr hdc, int iBkMode); !!!!VB.NET Signature <DllImport("gdi32.dll", SetLastError:=True)> _ Public Function SetBkMode(hdc As IntPtr, <MarshalAs(UnmanagedType.I4)>iBkMode As gdiBkMode) As Integer End Function !!!!VB Signature Public Declare Function SetBkMode Lib "gdi32.dll" _ (ByVal prmlngHDc As Long, _ ByVal ColorRef As Integer) As Integer !!!!Constants: const int TRANSPARENT = 1; const int OPAQUE = 2; !!!!User-Defined Types: !!!!VB.NET Public Enum gdiBkMode As Integer TRANSPARENT = 1 OPAQUE = 2 end Enum !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: Documentation: SetBkMode@msdn on MSDN
Edit gdi32.SetBkMode
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.