Place div over activeX object

I have a div field that needs to pop up over an ActiveX object, but it seems that the ActiveX object has an infinitely high z-index, even if I set this index to low. My div block continues to display under the ActiveX object. Any ideas?

+7
html activex
source share
2 answers

You will want to place a transparent iframe over the object you want to hide.

found this example for you

+6
source share

Windowless ActiveX controls have the advantage of being part of an overlapping two-dimensional layout.

Although changing a control to make it windowless can be impractical.

Edit:

I found a sample demonstrating this using the ActiveX Flash Player control . Flash can be used in both window and window modes. This pattern makes it easy to switch between them and see how the overlapping div appears in each mode.

Windowless controls are implemented in such a way that they do not require that they have their own window. This means that WindowProc does not have a selected drawing surface.

Instead, you receive messages by implementing IOleInPlaceObjectWindowless and can get the GDI drawing context through IOleInPlaceSiteWindowless.

+1
source share

All Articles