Re: Know when laptop lid is closed
Maybe your laptop doesn't send that message then.
You may do a registry search for "LidClose", because some laptops have a reg setting for this, that is specific to the machine.
Are you looking to make this for your computer only?
What operating system are you using?
What are your power settings set to do, when the lid closes?
Re: Know when laptop lid is closed
msgbox(m.WParam.ToInt32) says 61458
I am just making it for my computer.
I am using windows 7
The power setting for when the lid closes is "do nothing"
Re: Know when laptop lid is closed
May i ask what time zone you are in?
I am in +10 GMT but we are also in daylight savings.
Re: Know when laptop lid is closed
JamesStewy,
I thought I read that you wanted to allow a certain time of day, that when the lid is closed it does go into standby, and other times it does not.
Is this correct?
Then the simpler solution would be to toggle that setting, on a schedule.
Switching it between "Do Nothing" and "Standby".
The title of the thread could of been "Control what happens when laptop lid is closed?".
Re: Know when laptop lid is closed
"Then the simpler solution would be to toggle that setting, on a schedule."
How do you do that?