to check for cursor function into the injectbase_window.cpp