I use a dialog as the parent of vega prime window,everything works well except that the vega dows don't handle my keyboard input.
I use MotionGame,the window can handle my mouse action,but has no responce to my keyboard input.Any suggestion will be appreciated,thx
anser
O,I found that actually it does recv
every keyboard input except KEY_UP,
KEY_DOWN,KEY_LEFT,KEY_RIGHT.
I've define my own keyborad func
use vpWin->setKeyboardFunc(KeyboardFunc);
And
void KeyboardFunc(vrWindow *vrWin, vrWindow::Key key, int mod, void*)
{
CString t;
t.Format("%d",key);
AfxMessageBox(t);
}
On every other key the message pop up
except the direction key-_-