shadow on form!

Use this board to post your code snippets - tips and tricks
14 posts Page 2 of 2
Contributors
User avatar
pip
VIP - Donator
VIP - Donator
Posts: 156
Joined: Tue Jul 12, 2011 3:13 am

Re: shadow on form!
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
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: shadow on form!
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!
Last edited by mandai on Tue Jul 31, 2012 12:55 am, edited 2 times in total.
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: shadow on form!
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
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: shadow on form!
mandai
Thanks for finding that, I was using the window styles as a reference rather than the class styles.
14 posts Page 2 of 2
Return to “Quick Snips”