Graphic cursor problem
|
01-13-2021, 02:27 AM
Post: #5
|
|||
|
|||
RE: Graphic cursor problem
(01-12-2021 05:39 AM)cahlucas Wrote: Dear Mr. Han, A likely reason why it seems to work during debugging is that (perhaps) you are not accounting for "mouse-up" events. So when a "mouse-down" even occurs (i.e. your finger touches the screen) and the code follows into DEBUG mode, everything looks fine. But the DEBUG mode probably gets in the way of the "mouse-up" event (when you lift your finger from the screen). So the cursor is indeed being drawn correctly at the precise moment you touch the screen, but perhaps your code is not accounting for what happens when your finger lifts up from the screen. But without the code in its entirety (at least without the mouse/keyboard handling portion), it's hard to say precisely what the cause is. A generic mouse/keyboard handler would look something like: Code: EXPORT KMINPUT() Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Graphic cursor problem - cahlucas - 01-09-2021, 09:20 PM
RE: Graphic cursor problem - Han - 01-10-2021, 09:45 PM
RE: Graphic cursor problem - cahlucas - 01-12-2021, 05:39 AM
RE: Graphic cursor problem - Han - 01-13-2021 02:27 AM
RE: Graphic cursor problem - C.Ret - 01-12-2021, 12:13 PM
RE: Graphic cursor problem - cahlucas - 01-13-2021, 05:52 AM
|
User(s) browsing this thread: 1 Guest(s)