How to darken background?

  • Thread starter Thread starter Behzad
  • Start date Start date
B

Behzad

hi all,

I'am recently working on an applicatoin.Whenever 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
 
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.
 
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
 
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.
 
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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top