Getting a hWnd from a Texture or a Bank Buffer

Blitz3D Forums/Blitz3D Programming/Getting a hWnd from a Texture or a Bank Buffer

Hi,

Any solution?

JP

A 'hWnd' is a Window handle, right? Textures & images are not windows.

What is it you wish to do?

Hi,

"..What is it you wish to do? .."
Create a buffer with a Windows handle inside Blitz3D. ;-)

JP

Am I right in thinking that what you are attempting to do is store the display of a particular window as an image (or imagebuffer, effectively same thing) in Blitz?

If so, I would look through the uswr32.dll. I can foresee some issues though because in order to grab from the current display, then the front buffer needs to be used (unless say, I think Vista may work differently?), but if the blitz prog is the current focus, it's own drawing buffers would be used. If it isnt the current focus, it wont continue :S

certainly more complicated than it seems.