Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Need a way for a program to detect windows logon screen.


Need a way for a program to detect windows logon screen.

Author
Message
Scatman4
Scatman4
Supreme Being
Supreme Being (281 reputation)Supreme Being (281 reputation)Supreme Being (281 reputation)Supreme Being (281 reputation)Supreme Being (281 reputation)Supreme Being (281 reputation)Supreme Being (281 reputation)Supreme Being (281 reputation)Supreme Being (281 reputation)

Group: Forum Members
Posts: 1, Visits: 1
I often use the "'windows key' + L" combination to obtain the windows xp logon screen. This is the same as the screen you obtain through Start -> log off, except windwos key + L doesn't close all user programs when it "logs off". I do this mainly for security reasons (it keeps anyone from signing onto my user name without my windows password).

Anyways, I have recently been working on a program to help keep me organized, and I would like this program to pop up a reminder message each time I type in the correct password to get onto my user name.

There must be some way, through API, I'm assuming, to detect if the windows logon screen is active or not (press windows key + L if you're not sure what I mean by windows logon screen). If I could get the API code needed to detect this, I could easily place it in a timer to constantly check for the logon screen, displaying the reminder message as soon as it detects that the logon screen was bypassed (I.E. correct password was entered).

Since I log off to this screen pretty much every time I step away from the computer, this would allow the program to give me a reminder every time I came back and logged back on. This would be very usefull to me, as I tend to be forgetfull. Any help is very appreciated. If you don't know of an API call to do specifically what I'm talking about, any alternate ideas to getting the result I've explained above are welcome, as well. Thanks again in advance for anyones help .
mayurkotlikar
mayurkotlikar
Forum God
Forum God (1.8K reputation)Forum God (1.8K reputation)Forum God (1.8K reputation)Forum God (1.8K reputation)Forum God (1.8K reputation)Forum God (1.8K reputation)Forum God (1.8K reputation)Forum God (1.8K reputation)Forum God (1.8K reputation)

Group: Forum Members
Posts: 11, Visits: 1

You need to use subclassing and the only way to detect a log-off.

You will receive a WM_QUERYENDSESSION and you need to process that



Mayur Kotlikar
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search