INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: No SendMessage commands for Nav buttons  (Read 1231 times)

sixdoubleo

  • Regular Member
  • Recent member
  • *
  • Posts: 39
  • Change this by choosing profile
No SendMessage commands for Nav buttons
« 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!
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re:No SendMessage commands for Nav buttons
« Reply #1 on: April 28, 2004, 11:06:48 am »

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
Logged
Matt Ashland, JRiver Media Center

sixdoubleo

  • Regular Member
  • Recent member
  • *
  • Posts: 39
  • Change this by choosing profile
Re:No SendMessage commands for Nav buttons
« Reply #2 on: April 28, 2004, 01:24:22 pm »

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?  

Logged
Pages: [1]   Go Up