CWnd::GetLayeredWindowAttributes
Visual Studio 2010
Retrieves the opacity and transparency color key of a layered window.
BOOL GetLayeredWindowAttributes( COLORREF *pcrKey, BYTE *pbAlpha, DWORD *pdwFlags ) const;
This member function emulates the functionality of the function GetLayeredWindowAttributes, as described in the Windows SDK.