I know it's probably not a bug and it work as intended but the overwrite of virtual key method on GlCtrl inheriteds class don't work !
Instead, to manage keytboard input event on the GLCtrl I need to install keyhook like that :
{
//Constructor of my GlCtrl inherited class
InstallKeyHook(&OpenGLExample::CtrlKeyHook); //Activate KeyEvent
}
//Static method of my class
static bool CtrlKeyHook(Ctrl* ctrl, dword key, int count)
LOG("A key have been pressed !");
return true;
}
But, since all mouse event can be properly overwritten in GLCtrl inherited class, why those key method can't be ?