How to get device context for com object?

Alex Martelli aleaxit at yahoo.com
Thu Feb 22 10:28:13 CET 2001


"Walter Miller" <wmiller at mediaone.net> wrote in message
news:rBXk6.268$FG.70985 at news.pacbell.net...
> That's great!  Yes, it works but I'm also trying to call
> CreateCompatibleDC() and it only works with the device context object not
> the (int) handle for the device context.  Is there an api for creating a
> device context object based on its own handle?

win32ui.CreateDCFromHandle.


Alex






More information about the Python-list mailing list