Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Non-intrusive type of dialog

Reply
 
Old 06-03-2008   #1 (permalink)
Curious


 
 

Non-intrusive type of dialog

Hi,

I'll need to create a warning dialog with a simple message and an "OK"
button.

I want everything continue to run without the interruption despite
this dialog. That means, this dialog will stay on the screen until the
user clicks on the "OK' button. However, everything else continues
even before the user clicks on the "OK"' button.

Anyone can advise me on what type of form or dialog to use in order to
achieve this behavior?


My System SpecsSystem Spec
Old 06-03-2008   #2 (permalink)
Jeff Gaines


 
 

Re: Non-intrusive type of dialog

On 03/06/2008 in message
<74d00e71-64f1-486d-b6aa-07a8d01dd722@xxxxxx> Curious
wrote:
Quote:

>Anyone can advise me on what type of form or dialog to use in order to
>achieve this behavior?
Use an ordinary form and set the border style to non-sizeable and turn off
the control box. Then use Show() instead of ShowDialog().

--
Jeff Gaines Damerham Hampshire UK
Tell me what you need, and I'll tell you how to get along without it.
My System SpecsSystem Spec
Old 06-04-2008   #3 (permalink)
Curious


 
 

Re: Non-intrusive type of dialog

Hi Jeff,

There's a property for the form called "FormBorderStyle". Is this what
you mention as "border style"? It seems that in order to set the
border style to non-sizeable, I'll need to pick among the following
options:

FixedSingle
Fixed3D
FixedDialog
FixedToolWindow

Which one shall I pick?
My System SpecsSystem Spec
Old 06-04-2008   #4 (permalink)
Jeff Gaines


 
 

Re: Non-intrusive type of dialog

On 04/06/2008 in message
<5aabc540-e2f0-420d-8dc5-b954b416389f@xxxxxx> Curious
wrote:
Quote:

>Hi Jeff,
>
>There's a property for the form called "FormBorderStyle". Is this what
>you mention as "border style"? It seems that in order to set the
>border style to non-sizeable, I'll need to pick among the following
>options:
>
>FixedSingle
>Fixed3D
>FixedDialog
>FixedToolWindow
>
>Which one shall I pick?
That's the property - I usually go for FixedDialog but I've not really
studied the differences!

--
Jeff Gaines Damerham Hampshire UK
640k ought to be enough for anyone.
(Bill Gates, 1981)
My System SpecsSystem Spec
Old 06-09-2008   #5 (permalink)
Curious


 
 

Re: Non-intrusive type of dialog

Jeff,

Thanks!

But one more question: Don't you think that I can show a dialog on a
new thread in order for it not to affect other processes?
My System SpecsSystem Spec
Old 06-10-2008   #6 (permalink)
Jack Jackson


 
 

Re: Non-intrusive type of dialog

On Mon, 9 Jun 2008 18:54:36 -0700 (PDT), Curious
<fir5tsight@xxxxxx> wrote:
Quote:

>Jeff,
>
>Thanks!
>
>But one more question: Don't you think that I can show a dialog on a
>new thread in order for it not to affect other processes?
Why would you want to do that, when by using Show instead of
ShowDialog the thread doesn't block?
My System SpecsSystem Spec
Old 06-10-2008   #7 (permalink)
Curious


 
 

Re: Non-intrusive type of dialog

On Jun 10, 1:19*am, Jack Jackson <jjack...@xxxxxx> wrote:
Quote:

> On Mon, 9 Jun 2008 18:54:36 -0700 (PDT), Curious
Quote:
Quote:

> >But one more question: Don't you think that I can show a dialog on a
> >new thread in order for it not to affect other processes?
>
> Why would you want to do that, when by using Show instead of
> ShowDialog the thread doesn't block?
Good question - It's not a typical windows application. It's a back-
end plug-in on top of an existing application.

By default, it doesn't allow me to create UI from the back-end. A
naive way to create a dialog (even by using "Show") will result in a
blank dialog (the text and the buttons are not visible). I'm just try
to see what options I have here.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Intrusive adverts Browsers & Mail
Display actual file type, not description of the type Vista file management
Display the actual type, rather than the description of the type Vista General
Unable to find type [Drawing.Image]: make sure that the assembly containing this type is loaded PowerShell
Copying Dialog appears over Confirm File Replace dialog Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46