Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Values returned by MouseCallBack?

How do I get values defined within my MouseCallBack function to be accessible to separate Functions, Objects & Modules that are part of larger application? e.g. I tried putting my MouseCallback function within an upper level function and tried to use Return to get the values I wanted. I also tried putting it within a Class. Both scenarios had Global variables defined for the values I needed but I am not able to get the values I need to pass later on to other functions or objects in the larger application.