🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.acorn.tech
1 messages
1 total messages Started by David Alan Gilbert Tue, 12 Jan 1993 08:46
NULL events and 'txt' in RISC_OSLib
#913
Author: David Alan Gilbert
Date: Tue, 12 Jan 1993 08:46
22 lines
1220 bytes
Just a warning to all you who are using NULL
events a lot.  As far as I can tell the 'txt'
section of RISC_OSLib changes the event mask to 
allow NULL events when you drag in a window (be it
scroll bar or over the work area).  When it
has finished it then sets the mask to IGNORE
NULL's - no matter what the state previously.

So if your program relied on them a lot, your
program suddenly stops any background activity.

The way I confirmed this was to print event_getmask()
before I called event_process() - it suddenly became
1 after attempting to scroll the window with the
scroll bar - and definitly with a click on the
work area.

Dave
--
-------------------------------------------------------------------------------
- David Alan Gilbert - gilbertd@cs.man.ac.uk - G7FHJ@GB7CRG                   -
------(Programmers don't sleep - they just park their heads)-------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads