> hi, i can't seem to create a bitmap in memory using pywin32.
> my assert
> fails, telling me that the bitmap size is (0,0)?
I'm no expert on GDI programming at all. However, I have code that works
that looks like:
hdcBitmap = win32gui.CreateCompatibleDC(0)
hdcScreen = win32gui.GetDC(
hi, i can't seem to create a bitmap in memory using pywin32. my assert
fails, telling me that the bitmap size is (0,0)?
here's fragments:
class window:
def __init__
...
self.hwnd = CreateWindow(...)
wnd=CreateWindowFromHandle(self.hwnd)
wdc=wnd.GetDC()