Home All Groups Group Topic Archive Search About
Author
3 Apr 2006 4:55 PM
Jose Cintron
Hello all

I have a program (with a timer) that runs in the background when the timer
expires I open a scond form and based on the user input here I either log
the user out or open a third form to add more time to the timer.  Is there
any to preven the user from clicking on anything else on the desktop while
the second or third forms are visible.

TIA for any help

Author
3 Apr 2006 6:52 PM
Vijay
I guess opening your second form to full screen and making it not moveable
should help.. if you need to make ur form not moveable, you have to include
the code i have . and set the boolean variable accordingly..
Let me know, I can give you the code to set boolean for move..

VJ

Show quoteHide quote
"Jose Cintron" <l0rddarkf0***@hotmail.com> wrote in message
news:uN1gb9zVGHA.1160@TK2MSFTNGP09.phx.gbl...
> Hello all
>
> I have a program (with a timer) that runs in the background when the timer
> expires I open a scond form and based on the user input here I either log
> the user out or open a third form to add more time to the timer.  Is there
> any to preven the user from clicking on anything else on the desktop while
> the second or third forms are visible.
>
> TIA for any help
>
Author
3 Apr 2006 7:27 PM
Jose Cintron
I guess that may work, but it will look really silly to open a full screen
window to prompt a user for a password and if the password is correct a
number between 1 and 120.

In any event send me the code and I'll see if there is any way to modify
it...


Show quoteHide quote
"Vijay" <vi***@msdiscussions.com> wrote in message
news:O2Hsw%230VGHA.1160@TK2MSFTNGP09.phx.gbl...
>I guess opening your second form to full screen and making it not moveable
>should help.. if you need to make ur form not moveable, you have to include
>the code i have . and set the boolean variable accordingly..
> Let me know, I can give you the code to set boolean for move..
>
> VJ
>
> "Jose Cintron" <l0rddarkf0***@hotmail.com> wrote in message
> news:uN1gb9zVGHA.1160@TK2MSFTNGP09.phx.gbl...
>> Hello all
>>
>> I have a program (with a timer) that runs in the background when the
>> timer expires I open a scond form and based on the user input here I
>> either log the user out or open a third form to add more time to the
>> timer.  Is there any to preven the user from clicking on anything else on
>> the desktop while the second or third forms are visible.
>>
>> TIA for any help
>>
>
>
Author
3 Apr 2006 7:44 PM
Vijay
oh ok.. that case you could make it like have, also u can try to do it as
dialogbox... not sure if that will work though..., never tried to show a
modal dialog with desktop, but hey you can try. I have also attached the
code...to make non-moveable forms..

VJ

Show quoteHide quote
"Jose Cintron" <l0rddarkf0***@hotmail.com> wrote in message
news:%236fQ5S1VGHA.4960@TK2MSFTNGP12.phx.gbl...
>I guess that may work, but it will look really silly to open a full screen
> window to prompt a user for a password and if the password is correct a
> number between 1 and 120.
>
> In any event send me the code and I'll see if there is any way to modify
> it...
>
>
> "Vijay" <vi***@msdiscussions.com> wrote in message
> news:O2Hsw%230VGHA.1160@TK2MSFTNGP09.phx.gbl...
>>I guess opening your second form to full screen and making it not moveable
>>should help.. if you need to make ur form not moveable, you have to
>>include
>>the code i have . and set the boolean variable accordingly..
>> Let me know, I can give you the code to set boolean for move..
>>
>> VJ
>>
>> "Jose Cintron" <l0rddarkf0***@hotmail.com> wrote in message
>> news:uN1gb9zVGHA.1160@TK2MSFTNGP09.phx.gbl...
>>> Hello all
>>>
>>> I have a program (with a timer) that runs in the background when the
>>> timer expires I open a scond form and based on the user input here I
>>> either log the user out or open a third form to add more time to the
>>> timer.  Is there any to preven the user from clicking on anything else
>>> on
>>> the desktop while the second or third forms are visible.
>>>
>>> TIA for any help
>>>
>>
>>
>
>

[attached file: FormMovecode.txt]