How to get device context for com object?

Walter Miller wmiller at mediaone.net
Tue Feb 20 12:35:27 EST 2001


Anyone know how to get a device context for a com object?  For example:

import win32com.client

ie = win32com.client.Dispatch('InternetExplorer.Application.1')
ie.Visible = 1
ie.Navigate('http://www.yahoo.com')

hDCSrc = ie.GetDC()   # Thought this might be the way but it's not an option





More information about the Python-list mailing list