Hi folks!
This is very Solid Edge-oriented but I found some entries on this list
during a web-search recently.
We wish to use Python as language/environment for creation of automation
processes
w.r.t. our CAD.
So far I have successfully used makepy to create the Python interfaces
from the ty
Thanks for the reply,
At 08:06 PM 12/10/2006, Mark Hammond wrote:
> I'm trying to do a fast desktop capture myself, and having DC/pyDC
> confusion.
I'm not sure exactly what this means, but I'm guessing you are having
trouble with the pythonwin/win32ui GetSafeHdc objects, versus those
used by
> These lines all execute:
> dtwnd = win32gui.GetDesktopWindow()
> hdcSrc = win32gui.GetWindowDC(dtwnd)
> hdcDestH = win32ui.CreateDCFromHandle(dtwnd)
The last line above is a problem - try something like hdcDestH =
win32gui.GetDC(dtwnd)
> hdcDest = win32gui.CreateCompatibleDC(hdcSrc)
> hBitmap =
At 02:53 PM 12/11/2006, Mark Hammond wrote:
> These lines all execute:
> dtwnd = win32gui.GetDesktopWindow()
> hdcSrc = win32gui.GetWindowDC(dtwnd)
> hdcDestH = win32ui.CreateDCFromHandle(dtwnd)
The last line above is a problem - try something like hdcDestH =
win32gui.GetDC(dtwnd)
> hdcDes