@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetCurrentObject API !!!!C# Signature: [DllImport("gdi32.dll")] static extern IntPtr GetCurrentObject(IntPtr hdc, uint uObjectType); !!!!User-Defined Types: private enum ObjectType { OBJ_PEN = 1, OBJ_BRUSH = 2, OBJ_DC = 3, OBJ_METADC = 4, OBJ_PAL = 5, OBJ_FONT = 6, OBJ_BITMAP = 7, OBJ_REGION = 8, OBJ_METAFILE = 9, OBJ_MEMDC = 10, OBJ_EXTPEN = 11, OBJ_ENHMETADC = 12, OBJ_ENHMETAFILE = 13 } !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetCurrentObject@msdn on MSDN
Edit gdi32.GetCurrentO...
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.