#VK_SLEEP constant missing ?

Everything else that doesn't fall into one of the other PB categories.
Seldon
Enthusiast
Enthusiast
Posts: 405
Joined: Fri Aug 22, 2003 7:12 am
Location: Italia

#VK_SLEEP constant missing ?

Post by Seldon »

Hello,
I'm in the process of making a collection of definitions for several key constants, like raw codes (scancodes) and virtual-key codes, in order to have standard names for all the languages I use (mainly PureBasic and BlitzBasic, but also VB.NET) and I've noticed that #VK_SLEEP and #PB_Shortcut_Sleep constants are missing. Is there a reason for that ?
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

what should sleep be? do you mean Pause?

#VK_PAUSE and #PB_Shortcut_Pause are there...
oh... and have a nice day.
Seldon
Enthusiast
Enthusiast
Posts: 405
Joined: Fri Aug 22, 2003 7:12 am
Location: Italia

Post by Seldon »

Kaeru Gaman wrote:what should sleep be? do you mean Pause?
#VK_PAUSE and #PB_Shortcut_Pause are there...
Thanks for reply. I don't know what it should be, but it isn't the same as 'Pause' as they have different definition codes:

VK_PAUSE (0x13)
PAUSE key

VK_SLEEP (0x5F)
Computer Sleep key

See also here :
http://msdn.microsoft.com/en-us/library/ms645540.aspx
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

oh, I see.
you mean one of those superflous mega function keys...

well, dunno why they are not predifined...
add them into the "missing API constants" thread.
oh... and have a nice day.
Post Reply