Article # 62, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Mouse messages
Q. Are any messages passed while the mouse pointer is moving across the screen when it is not dragging any objects? A. Yes, mouse messages are constantly being passed as it moves across the screen. That's partially why mouse handlers return MRF_PROCESSED, so that the mouse message isn't passed to other objects. An object will receive MSG_META_PTR when the pointer moves inside its VisBounds, whether the button is down or not. That's why the TicTac sample application sets a "dragging" flag on the mouse press, so that the MSG_META_PTR method knows whether to process or ignore the event.