> I realize that a discussion on wxpython would be outside this group's 
> topic, but if anyone could tell me where to start looking for a way to 
> do this, I would greatly appreciate it. From what I can tell, 
> wxpython/wxwindows uses the HBITMAP type internally to store images, and 
> it appears to be a pointer to a DIB in memory. If so, it may be possible 
> to use wx.BitmapFromBuffer, wx.BitmapFromBits, or some similar function, 
> if I can somehow convert the HBITMAP data (instead of the handle) to a 
> string.


IIRC you can use wxDC.GetSafeHDC() and then win32gui to copy data to 
wxBitmap

HTH

Niki Spahiev
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to