Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 600713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:38:08+00:00 2026-05-13T16:38:08+00:00

I have an activeX control that contains one window that has streaming video being

  • 0

I have an activeX control that contains one window that has streaming video being drawn to it. I have a separate dialog that I create in another window that I have made transparent or semi-transparent in various ways (i.e. using the SetLayeredWindowAttributes(…) along with the Layered property [for alpha blending] of the dialog or setting the transparent property).

Additionally I’ve tried to use various methods to attempt to get the window for the dialog to always draw on top of the streaming video window but none have proved to work for me. If I have a button on the dialog or draw on the transparent surface with LineTo(…) calls they don’t remain on top of the video. I have tried to use SetWindowPos to affect the z-order of the two windows and also tried to change the dialog window properties such as “TopMost” but with no avail.

Has anyone tried to do something like this for an overlaid window over streaming video and gotten the z-ordering to work at painting the front window always after the streaming video?

UPDATE: 02/10/10 – tried using WS_EX_LAYERED property with SetLayeredWindowAttributes(…) using LWA_COLORKEY and achieved what I was looking for. Since layered property cannot be used with WS_CHILD style this solution brings with it some required management of the overlay window position with respect to the window with video. Additionally there are some other oddities I am trying to eliminate. For instance, when activeX control window with video is embedded in an IE tab and I switch to another tab controls on the overlay window remain on top the new tab (when WS_POPUP style used). Still investigating if there will be alternative means of dealing with this other then determining the switch and hiding the window visability.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:38:08+00:00Added an answer on May 13, 2026 at 4:38 pm

    WS_EX_LAYERED property with SetLayeredWindowAttributes(…) using LWA_COLORKEY will achieve transparency where colorkey is used. Transpaerent overlay remains in front of video and active streaming video remains live. WS_CHILD style cannot be used with layered style and therefore window position requires additional management if WS_POPUP is used. Additional issues may arise from inability to have overlay as a child window. -see Q update.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a windows application that contains an ActiveX WebBrowser control. As part of
I have an ActiveX control written using the MS ATL library and I am
I have an ActiveX plugin that we need (if possible) to run in Firefox.
Ok, so here is the scenario: I have an activeX that uploads files using
I have a third-party ActiveX dll, and I'd like to register it programmatically at
Is there a way to determine the number of users that have active sessions
I have a tree of active record objects, something like: class Part < ActiveRecord::Base
I have to lock user accounts in Active Directory programmatically in C#. Unfortunately it
I have an application thats going to use Active Directory for Authentication. This will
I have this code to connect to Active Directory and get all the groups

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.