473,769 Members | 5,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to darken background?

hi all,

I'am recently working on an applicatoin.Whe never a user creates a new
project in my application the new project's form is displayed.The users
are unfamiliar with computer wolrd.I want to focus their attention on
what is really working on top of the screen ( say it is a new project
form).Now i have decided to darken the background screen and the result
would be something like "Shut Down Windows" form in Windows XP/2003.how
could i do this?

Thanks in advance.

Behzad

May 23 '06 #1
7 5942
hi ,

try to put a semi-transparent grey form behind your new project form.
this form should cover the whole desktop.
i hope you get the efect that you want!

regards.

May 23 '06 #2
this.BackColor = Color.Black;

"Behzad" wrote:
hi all,

I'am recently working on an applicatoin.Whe never a user creates a new
project in my application the new project's form is displayed.The users
are unfamiliar with computer wolrd.I want to focus their attention on
what is really working on top of the screen ( say it is a new project
form).Now i have decided to darken the background screen and the result
would be something like "Shut Down Windows" form in Windows XP/2003.how
could i do this?

Thanks in advance.

Behzad

May 23 '06 #3
Hm... Read the question again.

Hayk Rustamyan wrote:
this.BackColor = Color.Black;

"Behzad" wrote:
hi all,

I'am recently working on an applicatoin.Whe never a user creates a new
project in my application the new project's form is displayed.The users
are unfamiliar with computer wolrd.I want to focus their attention on
what is really working on top of the screen ( say it is a new project
form).Now i have decided to darken the background screen and the result
would be something like "Shut Down Windows" form in Windows XP/2003.how
could i do this?

Thanks in advance.

Behzad

May 23 '06 #4
Behzad,

It won't be to easy to create such an effect with the provided managed
api. Wouldn't be easier to create a system modal form where the user
cannot change focus ?

Regards,
Tasos

May 23 '06 #5
The effect you see when shutting down windows XP is achieved by capturing
the whole screen, manipulating the captured picture and showing it "full
screen" while showing a window in front of it. Try to start the clock by
double clicking time in the taskbar and see it stop after you chose shut
down windows from start menu.

This is not very practical when you need to do this in an application,
because there may be other applications needing showing user an input.
Displaying a semitransparent fullscreen grey window in the background would
be most practical, if it is possible to do.

"Behzad" <Se*********@gm ail.com> wrote in message
news:11******** **************@ 38g2000cwa.goog legroups.com...
hi all,

I'am recently working on an applicatoin.Whe never a user creates a new
project in my application the new project's form is displayed.The users
are unfamiliar with computer wolrd.I want to focus their attention on
what is really working on top of the screen ( say it is a new project
form).Now i have decided to darken the background screen and the result
would be something like "Shut Down Windows" form in Windows XP/2003.how
could i do this?

Thanks in advance.

Behzad

May 23 '06 #6
Hi Tasos,

i have created such a form but i want the background looks -let's say-
gray;with this technic everything on backgroud has the same color and
our form on top of the screen that has a focus is colorful.get the
idea?

thanks

May 24 '06 #7
hi Lebesgue,

that's exactly what i want.
How to do this in a quick manner?is there any suggestion or site?

Thanks so mch.

May 24 '06 #8

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

Similar topics

2
10478
by: Markus Mohr | last post by:
Hi, everyone, I have a special problem: For every monitor resolution in 200 pixel steps from 800 to 1600 pixels I have an image to be shown as centered background-image. Those images all have the same name and reside in the following physical path structure:
3
4766
by: Peter Williams | last post by:
Hi All, I want to write some javascript for a html page which does the following. Imagine that the page contains a table with 2 columns and 3 rows, e.g.: +---+---+ | A | B | +---+---+
5
11097
by: proximus | last post by:
Hi, I am trying to change the background of table TD's. The problem is that I have no access to the HTML code. SO I am trying to alter this using Javascript/DOM in an external .js file. I have tried lot's of things and spent hours on this, I thought I might give it a try here. One of the TD's uses HTML to set the background, the other one uses CSS styling:
5
2593
by: Rlrcstr | last post by:
Is there a way to darken or lighten an area of a form or control via the graphics object? I'm using an ownerdraw listbox and I want to have a small area of the item be a bit lighter than the rest of the object, but I want the user to be able to set the main color. I've read up on the fact that we don't have any raster ops in GDI+, but I was hoping there might be an y easy way to do this. Thanks. Jerry
3
3243
by: Viken Karaguesian | last post by:
Hello all, I need somehelp with background tiling. I have a sneaking suspicion that what I want to do is not possible, but I'll ask anyway. :>) First some background: Here's the site in question: www.sayatnova.com (I'm sure many of you have seen this before as I've often asked for help). I've come a long way since I first created the site many moons ago and I'm trying to convert it to a (1) Table-less, (2) Frame-less and (3) Validated...
1
2452
by: nicky77 | last post by:
Hi, I've created a nav bar using a background image for rollover effects. Everything works as I had hoped, however, for some reason it seems that an area of whitespace (the same size of the background image) is hyperlinked underneath the nav bar. I can't see any errors in the coding below. Any ideas what may be causing this? the page is at http://www.maguiresonline.co.uk/wosis/files/nickysnav.html the html.... <body...
2
4807
XedinUnknown
by: XedinUnknown | last post by:
Hi! I am new to this forum, but not new to web design and programming. Nevertheless, I have never tried to use PNG so extensively in my pages. here's the problem. First, I have found that the PNG backgrounds and images had no transparency and grey around them when viewed in IE6, but I solved this bug using this hack. It works great, but then another problem came up: a background image that had the solution applied to was not repeating...
10
5758
by: VividWeb | last post by:
Hi. I am relatively new to CSS and HTML but have a basic understanding of most things. One of my backgrounds is not positioning correctly in IE 7 or AOL. The background behind the content (small chocolate area) is positioning slightly down the page instead of at the top. I have used the same techniques in the navigation and it positions fine. Its fine in Fire Fox Opera & Safari. I have run my HTML & CSS through W3c and all is clean. ...
2
14074
by: thephatp | last post by:
I'm having a problem with IE rendering correctly. I'm experimenting with using all div's in my pages now, and I'm not very familiar with the quirks of IE. I have created a sample page, and I'm really confused as to what is going on in IE. FF renders the page exactly as I expect. IE renders the page with everything in the correct location, but it seems to double the background image for a sub-div section that is moved up using a negative...
0
9590
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10223
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10000
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8879
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...
0
5310
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
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3968
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3571
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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.