General information
Category:
Reports & Report designer
>Dear Sirs:
>
>I am using the new LISTENER class in VFP9. I need to intercept the RENDER call and modify an object rendered using the GDI+. But i'm require the device context (hDC) of the device to use with MapObjects (GIS activex). How to obtain the hDC???
>
>Thanks and sorry for my english
>
>Edmundo Ríos Miranda
Hi Edmundo,
Don't have VFP9, but found this on MSDN. Hope this helps.
Class Library: _GDIPlus.vcx
Class: gpGraphics
Method: GetHdc()
Obtains a Windows device context handle to enable drawing on the gpGraphics surface with Windows GDI functions.
Syntax: hDC = THIS.GetHdc()
Return Values: Integer handle to the GDI device context, or null (.NULL.) on error.
Parameters: none.
Remarks: This method is equivalent to the .NET Graphics.GetHdc. The handle must be released with ReleaseHdc() after use.
-Mike
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only