Hi all,

For _WIN32_WINNT >= 0x0501 in a dilog class if you add the code:
SetClassLong(m_hWnd, GCL_STYLE, GetClassLong(m_hWnd, GCL_STYLE) | CS_DROPSHADOW);
in OnCreate you'll obtain a beautifull shadow (SysShadow) to your dialog. Looking with Spy++ you can see that windows used a layered

window (WS_EX_LAYERED) class name "SysShadow" and the prevous window is allways your dialog.
OK, this works only if the flag "show shadow under menus" in display properties is on. Well I want my dilog NOT depend on this flag and I

want to write my own SysShadow window.
Knows anyone how it works? Whats the idea of this? The sysshadow moves correctly with the dialog simultaneous, without the least delay.

Thats great, but how windows put it toghether???

Thanks a lot in advance for any idea!

Regards,
Emil