If a window is created using CreateWindowEx() with the WS_EX_TRANSPARENT style, windows below it at the position where the original window was initially placed are not obscured and show through. Moving the WS_EX_TRANSPARENT window, however, results in the old window background moving to the new position, because Windows does not support fully functional transparent windows. <br><br>WS_EX_TRANSPARENT was designed to be used in very modal situations and the lifetime of a window with this style must be very short. A good use of this style is for drawing tracking points on the top of another window. For example, a dialog editor would use it to draw tracking points around the control that is being selected or moved. <br><br>In Windows 2000, specific colors in a window can be made truly transparent by giving the window the WS_EX_LAYERED extended style and calling SetLayeredWindowAttributes. <br><br>如果窗口是创建 WS_EX_TRANSPARENT 样式, 使用 CreateWindowEx() 下方窗口位置原始窗口已最初放置位置是不挡住而且通过显示。 因为 Windows 不支持完备透明窗口移动 WS_EX_TRANSPARENT 窗口, 但是, 导致移动到新位置, 旧窗口背景。 <br><br>WS_EX_TRANSPARENT 旨在用于非常模式情况并且生存期为具有此样式窗口必须很短。 为此样式好使用是用于跟踪点绘制于其他窗口之上。 例如, 对话框编辑器将使用它来跟踪点正在控件周围绘制选定或移动。 <br><br>在 Windows 2000, 特定颜色在窗口中通过授予 WS_EX_LAYERED 扩展样式窗口和调用 SetLayeredWindowAttributes 进行真正透明。 <br><br>翻译的乱乱的,还是看原文明白。