|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Form FocusHello 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 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 > 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 >> > > 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 [attached file: FormMovecode.txt]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 >>> >> >> > >
How do you use an unbound DataAdapter?
Dummy question Easy One: Bind a Text Box to a an Integer Variable Getting the selected item from a listview WMI script to get Win32_Product Where to do the Loading tasks for application ? Getting DataGrid row X, Y position and Changing Column Width (2003) Can't get rid of references Reflection Question and MDI question Using PLink interactively as a Telnet process with VB.Net 2003 |
|||||||||||||||||||||||