tags:

views:

25

answers:

1

When a menu item or context menu is made, it has a shadow, if I create a window with WS_POPUP instead of WS_CHILD it has no shadow. How can I get the shadow? Thanks

A: 

It is enabled with WNDCLASSEX.style. Turn on the CS_DROPSHADOW style. I think this only works on top-level windows.

Hans Passant