Project2:VB6 UserControl-Transparency Container-VBForums
https://www.vbforums.com/showthread....ency-Container
Project3: Transparent Control By Multiple transparent windows form-VBForums
https://www.vbforums.com/showthread....t-windows-form
Starting from Window 8, WS_EX_LAYERED can be used for child controls.
Method: A manifest file is required, and at least Window 8 compatibility is specified (sub-layering only supports starting from Window 8).
For anyone who wants to use hierarchical child windows, the following content should be included as a manifest file.
Windows-classic-samples/Samples/DirectCompositionLayeredChildWindow at master · microsoft/Windows-classic-samples · GitHub
https://github.com/Microsoft/Windows...redChildWindow
saveas :Project1.exe.manifest
https://www.vbforums.com/showthread....ency-Container
Project3: Transparent Control By Multiple transparent windows form-VBForums
https://www.vbforums.com/showthread....t-windows-form
Starting from Window 8, WS_EX_LAYERED can be used for child controls.
Method: A manifest file is required, and at least Window 8 compatibility is specified (sub-layering only supports starting from Window 8).
For anyone who wants to use hierarchical child windows, the following content should be included as a manifest file.
Windows-classic-samples/Samples/DirectCompositionLayeredChildWindow at master · microsoft/Windows-classic-samples · GitHub
https://github.com/Microsoft/Windows...redChildWindow
saveas :Project1.exe.manifest
Code:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!--The ID below indicates app support for Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
</application>
</compatibility>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>