473,387 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Dropshadow effect on controls not form

hi,
can anyone tell me, how i can create Dropshadow effect for certain
control that i've written in c# ?
note ,control that i've written myself not c# controls or even windows
forms.

May 22 '06 #1
2 2383
Vahid Dadashzadeh wrote:
hi,
can anyone tell me, how i can create Dropshadow effect for certain
control that i've written in c# ?
note ,control that i've written myself not c# controls or even windows
forms.

In general, you would need to fill an offset shape around the bottom
right or left of your control.

________
|_
| |
| |
| |
-------- |
|-------

Or something like this.

JB
May 22 '06 #2
John B wrote:
Vahid Dadashzadeh wrote:
hi,
can anyone tell me, how i can create Dropshadow effect for certain
control that i've written in c# ?
note ,control that i've written myself not c# controls or even windows
forms.

In general, you would need to fill an offset shape around the bottom
right or left of your control.

________
|_
| |
| |
| |
-------- |
|-------

Or something like this.

JB

oops

________
|_
Rect 1 | |
| |
| |
-------- |
|------- Rect 2

JB
May 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: TD | last post by:
This is the code under a command button - Dim ctl As Control For Each ctl In Me.Controls If ctl.BackColor <> RGB(255, 255, 255) Then ctl.BackColor = RGB(255, 255, 255) End If Next ctl
0
by: Stan Shankman | last post by:
Greetings all, I’m working with a Windows Application and using C#. In the ‘Properties Panel’ of a Form, I can easily change that Form’s BackColor. But, this drop-down will not let me select...
0
by: Charles Law | last post by:
I have a user control which can be dragged and dropped onto a form in my application when it is running. I draw a selection border around my control, and allow it to be dragged to a new location on...
3
by: marcos | last post by:
Hi to all, I need to add a dropshadow to a form, how can I do it (vb .net)? I found the syle CS_DROPSHADOW but it requires me to subclass the window (I don't know how to do it). Thanks, ...
3
by: Reny J Joseph Thuthikattu | last post by:
Hi, If i put a month callender on a asp.net web form and specify the culture on the page directive like '<%@ Page language="c#" Culture="ar-OM"%> it will display the Month callender in arabic. ...
8
by: Ryan | last post by:
Ok.. I have a form with lots of stuff on it; a tool strip panel, menu strip, data binding elements (dataset, binding source, table adapter), tab control with 7 tab pages, each page contains a...
1
by: Peter Bengtsson | last post by:
I love the dropshadow effect I managed to make with this recipe: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/474116 Here's what it can look like:...
1
by: =?Utf-8?B?TWFyayBDb2xsYXJk?= | last post by:
I've created a form and added the following code in the CreateParams property to display a drop shadow on the form. protected override CreateParams CreateParams { get { CreateParams...
2
by: oam | last post by:
Hello, I'm testing some HTML using the DropShadow filter, but I find that the border of the object with the shadow gets in the way of content (especially, links). Here is some sample code: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.