I develop plugins for the OpenCities Map PowerView CONNECT Edition application with C++.
From one of my plugin I use the mdlInput_sendKeyin() function to trigger a feature in another plugin developed by me also. I want to log every keyin commands which was sent in the plugins.
In the MdlMain() function of each plugins I tried to use the StateCallback::SetKeyinFunction( onKeyInEvent ) function to set my callback function where I implemented the logic which do the logging related stuff.
Unfortunately my onKeyInEvent() function is never called.
How can I make this callback functionality working?
What version (e.g. v10.x.y.z) of MicroStation, and Bentley Map, are you using?
Ferenc Bolla said:In the MdlMain() function of each plugins I tried to use the StateCallback::SetKeyinFunction( onKeyInEvent ) function
Post your code! Show us your MdlMain and your onKeyInEvent.
MdlMain
Regards, Jon Summers LA Solutions