kind of works? reading multiple mice: any c programmers want to look at this?
#48
(09-12-2022, 09:25 PM)Spriggsy Wrote: System won't print anything, it just exits the program with that code. The function is basically being called by STR$. Not sure what you're asking for on the other question, though. The events are all there to run the window created by CreateWindow and the callback function is registered with RegisterClass.

I see now that you mean line 381. Anyways, there's no way for it to be firing anything after WinMain because System kills the program. Everything is a bit out of order anyways. You wouldn't want your test outside of the loop that is displaying the window.

Back to this, I need to familiarize with System, I didn't know it took parameters. 
What is it doing? What happens if we remove the System and just call the inner function? 
How can we use the Screen _NewImage, Line, and Print commands from within the Case WM_PAINT event? 
All these questions, to be experimented on and with, when I am back at the PC. 

You see what I'm trying to accomplish (e.g. previous reply's more concrete example). 
I think with some perseverence and creative thinking, it should be possible.
Reply


Messages In This Thread
RE: kind of works? reading multiple mice: any c programmers want to look at this? - by madscijr - 09-13-2022, 01:12 PM



Users browsing this thread: 39 Guest(s)