VB Code:
Private Const desktop_createmenu As Int32 = [B]&H4&[/B]
In working over some code and i see the item in bold. WHat is that? I understand its some value poulating the variable but whre is it aquired from?
Printable View
VB Code:
Private Const desktop_createmenu As Int32 = [B]&H4&[/B]
In working over some code and i see the item in bold. WHat is that? I understand its some value poulating the variable but whre is it aquired from?
It's a literal value. It's hexadecimal for, coincidentally, 4. I'm guessing that it is a Windows constant, which are documented in various places. If that's the case then it would be helpful if you gave your question a little context.
Ahh, ok..
THe line is from a project that detects if a machine is locked or unlocked.
I have been searching for a simple solution to detect sucha state rather than using hooks and other more complicated options.. just trying to find a simple method to tell me if the station is locked!