🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pilot.programmer
Article #24

Disabling the menu

#24
From: Donovan Winch
Date: Wed, 30 Oct 2002 11:33
24 lines
2060 bytes
Hey people,

I'm having some difficulty with trying to process events in the top left
of the screen in a Palm OS 5 application.

The application doesn't have a Palm OS menu. I've removed the default
one from the resource file, and tried commenting out the "if (!
MenuHandleEvent(0, &event, &error))" line in the AppEventLoop()
function, so events shouldn't even be passed to the menu event handler.

I was hoping that this would allow me to use the whole screen (including
the region usually used as the 'menu bar' at the top) for my own
nefarious purposes, but any pen events in the top left (where the
default menu is usually located) don't get passed to my main form as pen
events (penDownEvent, penUpEvent, penMoveEvent, etc.).

Is there something else I should be doing to disable this area's use as
a menu, or are there some 'special' events that I need to check for just
in that area of the screen?

Thanks in advance for any advice.

Donovan Winch.
(donovan_dot_winch_at_picsel_dot_com)
Technical Details
Message-ID: <3DBFC375.F79DF1D0@picsel.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!iris.uk.clara.net

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c638,daf262c8c2cb4b9c,start
X-Google-Attributes: gid10c638,public
X-Google-Thread: 10baa0,daf262c8c2cb4b9c,start
X-Google-Attributes: gid10baa0,public
X-Google-ArrivalTime: 2002-10-30 03:45:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!iris.uk.clara.net
Message-ID: <3DBFC375.F79DF1D0@picsel.com>
Date: Wed, 30 Oct 2002 11:33:09 +0000
From: Donovan Winch <donovan.winch@picsel.com>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: pilot.programmer,codewarrior.palm
Subject: Disabling the menu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@clara.net (please include full headers)
X-Trace: 381981009dd029175a724610100080061442243182a00863813c004c3dbfc640
NNTP-Posting-Date: Wed, 30 Oct 2002 11:45:04 +0000
Lines: 24