I did an ActiveX control to me, I control the main function is to broadcast video, when there is no button to play the video of my displayed below
Picture the button I I already set set-top m_cloudLeftUp SetWindowPos (& amp; WndTopMost, 0,0,0,0, SWP_NOMOVE | SWP_NOSIZE);
At the time when I play the video button will be obscure image below
Don't know how to deal with, please tell, thank you very much,
CodePudding user response:
refer to the original poster sanshao1314 response: I did an ActiveX control to me, I control the main function is to broadcast video, when there is no button to play the video of my displayed below Picture the button I I already set set-top m_cloudLeftUp SetWindowPos (& amp; WndTopMost, 0,0,0,0, SWP_NOMOVE | SWP_NOSIZE); At the time when I play the video button will be obscure image below Don't know how to deal with, please tell, thank you very much, I YanZhuo, is there any difference between these two figure? CodePudding user response:
2 a figure is not the same? CodePudding user response:
This is the first figure @ VisualEleven CodePudding user response:
Can you play the window as your child window of the main window? CodePudding user response:
reference sanshao1314 reply: 3/f This is the first figure @ VisualEleven I now is in the main window to create a child window of child style, child window used to play the video, the arrow above the need in the video window, CodePudding user response:
reference 5 floor sanshao1314 reply: Quote: refer to the third floor sanshao1314 response: This is the first figure @ VisualEleven I now is in the main window to create a child window of child style, child window used to play the video, the arrow above the need in the video window, The button can be assumed to be the child child controls can be a child window, CodePudding user response:
reference 5 floor sanshao1314 reply: Quote: refer to the third floor sanshao1314 response: This is the first figure @ VisualEleven I now is in the main window to create a child window of child style, child window used to play the video, the arrow above the need in the video window, M_cloudLeftUp. Create (" ", WS_CHILD | WS_VISIBLE, CRect,0,40,40 (0), and this, 4099); The style of button is child, no, CodePudding user response:
You the above sentence m_cloudLeftUp. CreateCreate () call this refers to what? A pointer to a child window is you used to play the video? CodePudding user response:
refer to the eighth floor VisualEleven response: you above that m_cloudLeftUp. CreateCreate () call this refers to what? A pointer to a child window is you used to play the video? This is the video window CodePudding user response:
references 9 f sanshao1314 response: Quote: refer to the eighth floor VisualEleven response: You the above sentence m_cloudLeftUp. CreateCreate () call this refers to what? A pointer to a child window is you used to play the video? This is the video window That you try, if the Create a non-modal dialog, see if the window can always keep in front of the video window? If you can, you can put your button on the non modal dialog box, CodePudding user response:
references 9 f sanshao1314 response: Quote: refer to the eighth floor VisualEleven response: You the above sentence m_cloudLeftUp. CreateCreate () call this refers to what? A pointer to a child window is you used to play the video? This is the video window You can check whether your code in the video window set & amp; The TopMost? CodePudding user response:
I vaguely remember into toolwindow can solve this problem, check the WS_EX_TOOLWINDOW CodePudding user response:
11 references VisualEleven response: Quote: references 9 f sanshao1314 response: Quote: refer to the eighth floor VisualEleven response: You the above sentence m_cloudLeftUp. CreateCreate () call this refers to what? A pointer to a child window is you used to play the video? This is the video window You can check whether your code in the video window set & amp; The TopMost? How to check if it is set to the top floor window? M_cloudLeftUp. SetWindowPos (& amp; CWnd: : wndTopMost, 0,0,0,0, SWP_NOMOVE | SWP_NOSIZE); This function returns a success, CodePudding user response:
It depends on how your video is associated with the window? Set any window properties ~