Hi!
I'm currently looking for a good Docking Library and I like yours a lot.
But I have a very specific requirement which none of the currently available libraries, including yours seem to support.
I need to be able to take a screenshots of all tabs in a container including those that are not visible.
This by itself is not a problem and can simply be done by calling the DrawToBitmap method which every System.Windows.Forms.Control supports. But the problems start to occur when using ActiveX controls on those tabs which I make extensive use of. The DrawToBitmap method doesn't support ActiveX controls. There's simply a white rectangle in place of the control.
There are methods available in the WinAPI which support taking screenshots of Windows that are not visible and it doesn't matter what controls are on the Window. The PrintWindow function for example supports that. But it doesn't work with your library. If I try to use it on a control hosted in a container that is currently not active I just get a black image.
So my question is, do you know of a way to take screenshots of all the tabs hosted in a container including those with ActiveX controls?
Or is this something you could implement in your library?
As much as I would love to use your library I can't do without the functionality.
Thx for your time.
Felix
I'm currently looking for a good Docking Library and I like yours a lot.
But I have a very specific requirement which none of the currently available libraries, including yours seem to support.
I need to be able to take a screenshots of all tabs in a container including those that are not visible.
This by itself is not a problem and can simply be done by calling the DrawToBitmap method which every System.Windows.Forms.Control supports. But the problems start to occur when using ActiveX controls on those tabs which I make extensive use of. The DrawToBitmap method doesn't support ActiveX controls. There's simply a white rectangle in place of the control.
There are methods available in the WinAPI which support taking screenshots of Windows that are not visible and it doesn't matter what controls are on the Window. The PrintWindow function for example supports that. But it doesn't work with your library. If I try to use it on a control hosted in a container that is currently not active I just get a black image.
So my question is, do you know of a way to take screenshots of all the tabs hosted in a container including those with ActiveX controls?
Or is this something you could implement in your library?
As much as I would love to use your library I can't do without the functionality.
Thx for your time.
Felix