Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!81.171.118.63.MISMATCH!peer03.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!fx47.am4.POSTED!not-for-mail From: Harriet Bazley Newsgroups: comp.sys.acorn.programmer Subject: Scrollwheel support Message-ID: Lines: 14 User-Agent: Messenger-Pro/7.06 (MsgServe/7.06) (RISC-OS/5.22) NewsHound/v1.52-32 X-Clacks-Overhead: GNU Terry Pratchett X-Complaints-To: http://netreport.virginmedia.com NNTP-Posting-Date: Wed, 14 Feb 2018 17:36:49 UTC Organization: virginmedia.com Date: Wed, 14 Feb 2018 17:26:39 GMT X-Received-Bytes: 1190 X-Received-Body-CRC: 2672668946 Xref: csiph.com comp.sys.acorn.programmer:5408 I want my program to scroll its window in response to mouse scrollwheel events, which doesn't seem to happen automatically under RISC OS 5 (I assumed the Wimp simply translated them into clicks on the scroll icons, but apparently not). Searching on the Web suggests that the scrollwheel actually issues "Scroll Request" events (Wimp_Poll reason code 10) instead, so I tried monitoring those - but the app doesn't seem to be receiving any. I'm calling Wimp_Poll with a mask of &1, so they shouldn't be masked out. How do I support a scrollwheel? -- Harriet Bazley == Loyaulte me lie == Radioactive cats have 18 half-lives.