INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: sixdoubleo on April 28, 2004, 10:54:39 am
-
In the GML file supplied with MC10, there doesn't seem to be any of the Nav buttons (Up, Down, Left, Right, Select) defined. I had to add these myself and use the keyboard keys.
In the interest if keeping things consistent, I wanted to use SendMessage commands. Anybody know what these are? Or maybe point me to a reference showing all the SendMessage equivalents.
Thanks!
-
You could use MCC_KEYSTROKE.
Here are some of the virtual key codes (in hex):
#define VK_SPACE 0x20
#define VK_PRIOR 0x21
#define VK_NEXT 0x22
#define VK_END 0x23
#define VK_HOME 0x24
#define VK_LEFT 0x25
#define VK_UP 0x26
#define VK_RIGHT 0x27
#define VK_DOWN 0x28
#define VK_SELECT 0x29
#define VK_PRINT 0x2A
#define VK_EXECUTE 0x2B
#define VK_SNAPSHOT 0x2C
#define VK_INSERT 0x2D
#define VK_DELETE 0x2E
#define VK_HELP 0x2F
-
You could use MCC_KEYSTROKE.
Here are some of the virtual key codes (in hex):
#define VK_SPACE 0x20
#define VK_PRIOR 0x21
#define VK_NEXT 0x22
#define VK_END 0x23
#define VK_HOME 0x24
#define VK_LEFT 0x25
#define VK_UP 0x26
#define VK_RIGHT 0x27
#define VK_DOWN 0x28
#define VK_SELECT 0x29
#define VK_PRINT 0x2A
#define VK_EXECUTE 0x2B
#define VK_SNAPSHOT 0x2C
#define VK_INSERT 0x2D
#define VK_DELETE 0x2E
#define VK_HELP 0x2F
OK, Im a little ignorant. How would one of those codes translate into an actual value in Girder?