9

I am trying to get the same dropshadow windows uses this one: dropshadow

on a treeview control in my form.

editandtree

On my researching i found out that one can use CS_DROPSHADOW (link) to create this shadow effect on forms.
Is it somehow possible to assign CS_DROPSHADOW or something similar to controls as well?

Community
  • 1
  • 1
ChrisB
  • 2,497
  • 2
  • 24
  • 43
  • 1
    Is that tree view control going to be a popup window (just like e.g. combo box list) ? – TLama Dec 02 '14 at 21:47
  • @TLama I was thinking about implementing it both ways (static and popup). – ChrisB Dec 02 '14 at 21:52
  • 2
    From the docs: *Windows created from a class with this style must be top-level windows; they may not be child windows.* – David Heffernan Dec 02 '14 at 21:58
  • @DavidHeffernan Aww, i thought it would be possible without having to use a 2nd form set fsStayOnTop. But i guess that's the only way to do it. – ChrisB Dec 03 '14 at 06:09

0 Answers0