Hello.
I am developing an Activex control to show animated gif and other images. With windowlessActiv ate flag the control is transparent. I want to show animated gif in a thread.
Now the problem:
The thread needs a pointer to the control. "A CWnd*". It works fine without windowlessActiv ate flag but with the flag I have no CWnd pointer to the control.
Is there a way to get a pointer to the control even though it is windowless?
The control is meant to bee used with an VB application. The app acts as a container to the control. Is it possible to attach the thread to the container instead of the control? Is there a way to get a pointer to the app?
I am using Visual c++ 2005
I hop somone has a answer.
I am developing an Activex control to show animated gif and other images. With windowlessActiv ate flag the control is transparent. I want to show animated gif in a thread.
Now the problem:
The thread needs a pointer to the control. "A CWnd*". It works fine without windowlessActiv ate flag but with the flag I have no CWnd pointer to the control.
Is there a way to get a pointer to the control even though it is windowless?
The control is meant to bee used with an VB application. The app acts as a container to the control. Is it possible to attach the thread to the container instead of the control? Is there a way to get a pointer to the app?
I am using Visual c++ 2005
I hop somone has a answer.
Comment