Advertisement
4_2005-2006 Miscellaneous #164602

Altering the opacity of a window

The code demonstrates the method to alter the opacity of a Window in 2000 and XP. The opacity can be from 0 - 255. Just use the code in any Win32 application and call the two functions. SetWindowLayered must be called once (when the window is created) and SetWindowOpacity can be called as and when required. I have used the code in an AppWizard generated MFC dialog based application (See attached zip file).

AI

Tóm tắt bởi AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Mã nguồn
original-source
Upload
Bình luận gốc (3)
Được khôi phục từ Wayback Machine