Home All Groups Group Topic Archive Search About

Minimise button on title bar and resize

Author
25 Mar 2010 2:56 PM
Alain Dekker
I'm trying to create a dialog which cannot be resized and when the user
double-clicks the title bar, it should NOT become full-screen size. Also,
I'd like a minimise button only.

I can't seem to get this right. What am I missing?

Thanks in advance,
Alain

Author
25 Mar 2010 3:30 PM
Patrice
> I'm trying to create a dialog which cannot be resized and when the user
> double-clicks the title bar, it should NOT become full-screen size. Also,
> I'd like a minimise button only.
>
> I can't seem to get this right. What am I missing?

What have you tried that doesn't work ? Setting FormBorderStyle to
FixedDialog and MaximizeBox to False seems to work here (.NET .3.5)...

--
Patrice
Author
25 Mar 2010 6:08 PM
kevinp
Look at the Form BorderStyle property.


On Thu, 25 Mar 2010 14:56:51 -0000, "Alain Dekker"
<abdekker@NOSPAM.fsmail.net> wrote:

Show quoteHide quote
>I'm trying to create a dialog which cannot be resized and when the user
>double-clicks the title bar, it should NOT become full-screen size. Also,
>I'd like a minimise button only.
>
>I can't seem to get this right. What am I missing?
>
>Thanks in advance,
>Alain
>
Author
29 Mar 2010 4:58 PM
Alain Dekker
Thanks to both, that was it. New to VB .NET 1.1 (VS 2003.NET). More used to
the VS6 IDE.

Thanks again!
Alain


Show quoteHide quote
"kevinp" <kevinp@nospam.com> wrote in message
news:cj9nq595p5168s49mb8fcvadhuv20oiior@4ax.com...
> Look at the Form BorderStyle property.
>
>
> On Thu, 25 Mar 2010 14:56:51 -0000, "Alain Dekker"
> <abdekker@NOSPAM.fsmail.net> wrote:
>
>>I'm trying to create a dialog which cannot be resized and when the user
>>double-clicks the title bar, it should NOT become full-screen size. Also,
>>I'd like a minimise button only.
>>
>>I can't seem to get this right. What am I missing?
>>
>>Thanks in advance,
>>Alain
>>