(I cancelled my post in vb.general. Maybe I'll have better luck here.)

Hi all,

I'm having some trouble getting the Windows 2000 "Log On to Windows" prompt
to accept WS_EX_LAYERED. The application I wrote can layer itself and any
other window at time when the logon window is shown, but not the logon
window itself.

It's odd because I can show/hide/resize/bitblt the window (it's accepting
some messages), but whenever I try to set WS_EX_LAYERED, it never sticks.

The code is pretty simple:

Dim l As Long

l = GetWindowLong(hWnd, GWL_EXSTYLE)
SetLayeredWindowAttributes hWnd, 0, 180, ULW_ALPHA

It's not the code, because it works on every other window I try it on. My
only guess is that winlogon.exe rejects certain window messages for security
purposes. But it accepts some messages that could be considered
compromising (SW_HIDE), so I'm just confused.

Any help would be appreciated.

Thanks, Ted.