Page 2 of 2

Re: shadow on form!

Posted: Sat Jul 07, 2012 2:12 pm
by pip
Dummy1912 wrote:
:lol: funny i don't see any shadow :lol:
Yea well it is slightly brighter harder to tell but i can somewhat tell lol

Re: shadow on form!

Posted: Sat Jul 07, 2012 3:02 pm
by mandai
This will only give it a shadow if you have the visual effect enabled for 'show shadows under windows'.

There is no such style named CS_DROPSHADOW. The value for this is actually taken from WS_GROUP. Edit: Disregard this last part!

Re: shadow on form!

Posted: Sat Jul 07, 2012 3:45 pm
by MrAksel
mandai wrote:
This will only give it a shadow if you have the visual effect enabled for 'show shadows under windows'.

There is no such style named CS_DROPSHADOW. The value for this is actually taken from WS_GROUP.
What? MSDN

Re: shadow on form!

Posted: Sat Jul 07, 2012 4:41 pm
by mandai
Thanks for finding that, I was using the window styles as a reference rather than the class styles.