473,625 Members | 3,330 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# Irregular shaped user controls.

dr
C# Irregular shaped user controls.

How to make usercontrol have transparency key for its background image? I
want to have irregular shaped user controls on my form. like a funny shaped
button. This works fine for irregular shaped forms becuase they have a
transparency key field, but user controls dont have this field. note i do
not want to see the desktop. I want to see any other controls or form behind
the irregularly shaped user control. And i want it to remain looking ok when
i resize the irregularly shaped user control.
Feb 26 '07 #1
0 1673

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

Similar topics

3
1488
by: slava.shklyar | last post by:
Hello, I'm writing some application that authenticates users via LDAP. When user going to login he sends user/pass by GET request to the application adn gets his ID back. Some users that have irregular characters in the password ( !^&%@#... ) can not login. I tried to encode password ($_SERVER) with urlencode() and base64_encode() but it does not solve the proplem...
16
3445
by: Woodmon | last post by:
I want to flow text in an "irregular" column on the left and place a large image at the top of an "irregular" column to the right. Then after the bottom of the large image I want the text column on the left to expand part way to the right, but not all the way to the right, as I want a smaller image on the right. Then this will continue to the bottom of the page. The text needs to flow down in the left column. And the right edge of the...
2
3954
by: ppyrstr | last post by:
I have been trying to figure out how to have a custom control that is irregular (non-rectangular) not interfere with other elements on the screen that may interfere with it's "regular" shape (the control defining rectangle). For example, if I make a custom control that simply paints a circle inside its bounding box, how can I have the control not have the area of the control outside of the "bounding circle" affect any objects underneath...
3
2777
by: Arturo Toledo | last post by:
Ok.. I need to create a button. Not a normal one. I need one that has a STAR shape. I need it to be yellow and with a face. When I rollover this button I need the face to smile and to have sparkles comming out of the button. When I click this button I need it to shake and have the face scream (no sound required)... This button will be located over a composite background so I would like to have transparent areas where my button is not...
2
3015
by: dr | last post by:
C# Irregular shaped user controls. How to make usercontrol have transparency key for its background image? I want to have irregular shaped user controls on my form. like a funny shaped button. This works fine for irregular shaped forms becuase they have a transparency key field, but user controls dont have this field. note i do not want to see the desktop. I want to see any other controls or form behind the irregularly shaped user...
4
255
by: lyle fairfield | last post by:
My observation is that over the past few months many of our regulars seems to be drifting away, making fewer contributions or none at all. Why? I can speculate: 1. The quality of questions here in CDMA has been low; 2. The regulars are busy with paying work; 3. Contributing to the MS groups may result in recognition in the form
1
3560
by: PankajGaur | last post by:
Hi, I need to create a Ellipse shaped user control which have folloiwng attributes: 1) The edges are smooth 2) The control shuld only be selected when click on the ellipse shape & not when click on the empty area of Client Rectangle What I have done so far: I override the OnPaintMethod as below:
0
1372
by: =?Utf-8?B?UGFua2FqR2F1cg==?= | last post by:
Hi, I need to create a Ellipse shaped user control which have folloiwng attributes: 1) The edges are smooth 2) The control shuld only be selected when click on the ellipse shape & not when click on the empty area of Client Rectangle What I have done so far: I override the OnPaintMethod as below:
6
3020
by: Nobody | last post by:
hi there, suppose I want to iterate for a specific variable e.g. i , but for non regular (or consecutive) values. For example i=0,1,2,4,5,7,8 etc how can I do that with a for loop? MY solution which is not that elegant involves if statements (or switch statements) in the body of the loop: e.g.
0
8189
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7184
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6118
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1500
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.