(09-18-2022, 07:37 PM)Spriggsy Wrote: @madscijr
It isn't a problem with the API. It's a problem with the fact that QB64 makes its own window that isn't setup to accept callbacks. Just assume most issues you will face is due to how QB64 was mostly designed to use internal functions and not external. External stuff is basically a side effect of the C backbone. What would be great is if right now you focus more on making a C version that does everything you want and then come back to change it over to QB64.
Well that's my question - whether I do it in C or do it inside QB64 set up with those events, I still need to draw graphics to the program window. Since currently we can't get QB64 and the raw input code seeing the same window, we must draw the graphics in whatever way that can access it. Currently the demo code uses DrawText, what is the API function to draw a color rectangle, so we can draw a few colored rectangles and let the mice move them around?