中ボタンと、右ボタン

むむ?

/* record mouse events */
int recordMouseDown(WPARAM wParam, LPARAM lParam)
{
  int stButtons= 0;

#if defined(_WIN32_WCE)

  if (wParam & MK_LBUTTON) stButtons |= 4;
  if (stButtons == 4)	/* red button honours the modifiers */
    {				 
      if (wParam & MK_CONTROL) stButtons = 1;	/* blue button if CTRL down */
      else if (GetKeyState(VK_LMENU) & 0x8000) stButtons = 2;	/* yellow button if META down */
    }

なんか、それっぽいコードはあるんだな?
MK_CONTROLってのは、Modifier Keyのことだよね、やっぱり。
どうして働いてないんだろう?
デバッガで追いかけてみるしかないかな?