How to detect a laptop lid is closed?
-
Hello Friends I have a MFC application and in which I want to show some message when user tries to close the lid of the laptop. Is there a way or event through which i can get when used closed lid of laptop. Also I want to get notification when user presses Ctr+Alt+Del and logs into Laptop after he closed the lid of the laptop. Is there any way to do this ? Regards Mahesh
-
Hello Friends I have a MFC application and in which I want to show some message when user tries to close the lid of the laptop. Is there a way or event through which i can get when used closed lid of laptop. Also I want to get notification when user presses Ctr+Alt+Del and logs into Laptop after he closed the lid of the laptop. Is there any way to do this ? Regards Mahesh
For Ctr+Alt+Del , you have to write GINA. There is a sample in platform sdk. Alternatively you can create a registry value DisableCAD under Winlogon key to disable the ctrl-alt-del. Vipin - MVP
-
For Ctr+Alt+Del , you have to write GINA. There is a sample in platform sdk. Alternatively you can create a registry value DisableCAD under Winlogon key to disable the ctrl-alt-del. Vipin - MVP
-
Hello Friends I have a MFC application and in which I want to show some message when user tries to close the lid of the laptop. Is there a way or event through which i can get when used closed lid of laptop. Also I want to get notification when user presses Ctr+Alt+Del and logs into Laptop after he closed the lid of the laptop. Is there any way to do this ? Regards Mahesh
HI , Check this out http://www.codeproject.com/win32/AntonioWinLock.asp[^] Regards FarPointer.
-
Hello Friends I have a MFC application and in which I want to show some message when user tries to close the lid of the laptop. Is there a way or event through which i can get when used closed lid of laptop. Also I want to get notification when user presses Ctr+Alt+Del and logs into Laptop after he closed the lid of the laptop. Is there any way to do this ? Regards Mahesh
How is the user going to see your message if the lid is closed? :confused: --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Shots do not hurt other players... yet
-
How is the user going to see your message if the lid is closed? :confused: --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Shots do not hurt other players... yet
-
How is the user going to see your message if the lid is closed? :confused: --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Shots do not hurt other players... yet
-
How is the user going to see your message if the lid is closed? :confused: --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Shots do not hurt other players... yet
-
How is the user going to see your message if the lid is closed? :confused: --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Shots do not hurt other players... yet